Core Function isVarChar

From Sputnik Wiki
Jump to: navigation, search
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  );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox