Core Function isVarPtr
From Sputnik Wiki
(Difference between revisions)
(Created page with "<pre> isVarPtr( $variable ) </pre> === Description === Checks if a variable is an unsigned pointer type. === Parameters === ==== variable ==== The variable to check. === Re...") |
|||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
− | Checks if a variable is an | + | Checks if a variable is an signed pointer type. |
=== Parameters === | === Parameters === |
Revision as of 10:59, 29 August 2013
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 );