new IsString( [value])
Evaluates if the condition is a string.
Parameters:
| Name | Type | Argument | Default | Description | 
|---|---|---|---|---|
value | 
            
            Object | 
                
                    <optional> | 
            
            
                null | The value to evaluate.  | 
        
- Implements:
 
Example
var IsString = system.rules.IsString ;
trace( (new IsString( new String('hello') )).eval() ) ; // true
trace( (new IsString( 'hello' )).eval() ) ; // true
trace( (new IsString( '' )).eval() ) ; // true
trace( (new IsString( 1 )).eval() ) ; // false
    
Extends
Members
- 
    
value :Object
 - 
    
    
The value to evaluate.
Type:
- Object
 
- Default Value:
 - 
		
- null
 
 
 
Methods
- 
    
<static> IsString#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.