Core Function isVarUInt16
From Sputnik Wiki
isVarUInt16( $variable )
Contents |
Description
Checks if a variable is an unsigned 16-bit integer type.
Parameters
variable
The variable to check.
Return Value
Success: Returns true.
Failure: Returns false.
Remarks
None.
Example
$var1 = (uint16)100; println( "Is it?: " . isVarUInt16($var1) ); // Alternative println( $var1 is UInt16 ); // Alternative println( $var1 ~~ UInt16 );