Core Function isVarNull

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

Contents

Description

Checks if a variable is null.

Parameters

variable

The variable to check.

Return Value

Success: Returns true.

Failure: Returns false.

Remarks

None.

Example

$var1 = null;
println( "Is it?: " . isVarNull($var1) );
// Alternative
println( $var1 == null  );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox