Core Function isVarInt16
From Sputnik Wiki
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 true.
Failure: Returns false.
Remarks
None.
Example
$var1 = (Int16)100; println( "Is it?: " . isVarInt16($var1) ); // Alternative println( $var1 is Int16 ); // Alternative println( $var1 ~~ Int16 );