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