Class: EmptyString

system.rules. EmptyString


new EmptyString(value)

Evaluates if the value is an empty String.

Parameters:
Name Type Description
value string

The value to evaluate.

Implements:
Example
var EmptyString = system.rules.EmptyString ;

var cond1 = new EmptyString( null ) ;
var cond2 = new EmptyString( "" ) ;
var cond3 = new EmptyString( "hello" ) ;

trace( cond1.eval() ) ; // false
trace( cond2.eval() ) ; // true
trace( cond3.eval() ) ; // false

Extends

Members


value :string

Type:
  • string

Methods


<static> EmptyString#eval()

Evaluates the specified object.


eval()

Evaluates the specified condition.

Inherited From:
Implements:

toString()

Returns the string representation of this instance.

Inherited From:
Implements:
Returns:

the string representation of this instance.