Core Function isVarChar
From Sputnik Wiki
isVarChar( $variable )
Contents |
Description
Checks if a variable is a char type.
Parameters
variable
The variable to check.
Return Value
Success: Returns true.
Failure: Returns false.
Remarks
None.
Example
$var1 = (char)"a"; println( "Is it?: " . isVarChar($var1) ); // Alternative println( $var1 is Char ); // Alternative println( $var1 ~~ Char );