class staticbo.commonRules. NullResultOption
Source: common-rules/
Represents the eligible actions when an expression rule is executed on a null value.
Properties
Method
new NullResultOption()
Creates a new object containing null result options.
- Extends
- bo.system.Enumeration
Properties
read-only$name
string
The name of the enumeration. The default value is the name of the constructor.
- Inherited from
- bo.system.Enumeration#$name
constant read-onlyconvertToEmptyString
The value will be replaced by an empty string.
- Default value
constant read-onlyreturnFalse
The result of the rule will be failure.
- Default value
constant read-onlyreturnTrue
The result of the rule will be success.
- Default value
Method
hasValue(name) → boolean
Determines if the enumeration has an item with the given name.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
name |
|
|
The name of the enumeration item. |
- Inherited from
- bo.system.Enumeration#hasValue
- Returns
-
True if the name is an enumeration item, otherwise false.