Core Function isVarPtr

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

Contents

Description

Checks if a variable is an signed pointer type.

Parameters

variable

The variable to check.

Return Value

Success: Returns true.

Failure: Returns false.

Remarks

None.

Example

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