Core Function isVarLong

From Sputnik Wiki
Jump to: navigation, search
sVarLong( $variable )

Contents

Description

Checks if a variable is a signed 64-bit integer type.

Parameters

variable

The variable to check.

Return Value

Success: Returns true.

Failure: Returns false.

Remarks

None.

Example

$var1 = (long)100;
println( "Is it?: " . isVarLong($var1) );
// Alternative
println( $var1 is Int64  );
// Alternative
println( $var1 ~~ Int64  );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox