Class: Or

olympe.dc.api.predicates. Or


new Or(predicates)

Parameters:
Name Type Argument Description
predicates olympe.dc.api.Predicate <repeatable>
Implements:

Methods


clear(tag, index)

Unregister callback

Parameters:
Name Type Description
tag string
index string
Implements:

execute(tag)

Apply the predicate to given value

Parameters:
Name Type Description
tag string

of instance to test predicate

Implements:
Returns:

if predicates passes

Type
boolean

observe(tag, index, callback)

Define testing on a dataflow string

Parameters:
Name Type Description
tag string
index string
callback olympe.dc.api.Predicate.PredicateCallback
Implements:

serialize()

Serialize the predicate

Implements:
Returns:
Type
Object

toString()

Gets a string representation of this predicate

Implements:
Returns:

The string representation

Type
string