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-only
convertToEmptyString

The value will be replaced by an empty string.

Default value

constant read-only
returnFalse

The result of the rule will be failure.

Default value

constant read-only
returnTrue

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.