Core Function isVarServer

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

Contents

Description

Check if a variable holds a Server object from Listen().

Parameters

variable

The variable to check.

Return Value

Success: Returns true.

Failure: Returns false.

Remarks

None.

Example

$var1 = SSListen(6745);
println( "Is it?: " . isVarServer($var1) );
// Alternative
println( $var1 is Server  );
// Alternative
println( $var1 ~~ Server  );
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox