Core Function isVarUShort

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

Contents

Description

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

Parameters

variable

The variable to check.

Return Value

Success: Returns true.

Failure: Returns false.

Remarks

None.

Example

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