Core Function isVarInt16
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> isVarInt16( $variable ) </pre> === Description === Checks if a variable is a signed 16-bit integer type. === Parameters === ==== variable ==== The variable to check. ...")
Newer edit →
(Created page with "<pre> isVarInt16( $variable ) </pre> === Description === Checks if a variable is a signed 16-bit integer type. === Parameters === ==== variable ==== The variable to check. ...")
Newer edit →
Revision as of 11:47, 2 December 2011
isVarInt16( $variable )
Contents |
Description
Checks if a variable is a signed 16-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?: " . isVarInt16($var1) );