Core Function isVarInt
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> isVarInt( $variable ) </pre> === Description === Checks if a variable is a signed 32-bit integer type. === Parameters === ==== variable ==== The variable to check. ==...")
Newer edit →
(Created page with "<pre> isVarInt( $variable ) </pre> === Description === Checks if a variable is a signed 32-bit integer type. === Parameters === ==== variable ==== The variable to check. ==...")
Newer edit →
Revision as of 11:47, 2 December 2011
isVarInt( $variable )
Contents |
Description
Checks if a variable is a signed 32-bit integer type.
Parameters
variable
The variable to check.
Return Value
Success: Returns 1.
Failure: Returns 0.
Remarks
None.
Example
$var1 = "check me"; println( "Is it?: " . isVarInt($var1) );