Core Function isVarUInt

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

Contents

Description

Checks if a variable is an unsigned 32-bit integer type.

Parameters

variable

The variable to check.

Return Value

Success: Returns true.

Failure: Returns false.

Remarks

None.

Example

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