Class: InequalityOperator

olympe.dc.api.predicates. InequalityOperator


new InequalityOperator(db, property, bound [, lessThan] [, strict])

Parameters:
Name Type Argument Default Description
db olympe.dc.DBView
property olympe.dc.Tag
bound number | olympe.dc.Tag
lessThan boolean <optional>
true
strict boolean <optional>
true
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

getBound()

Returns:
Type
number | olympe.dc.Tag

getLessThan()

Returns:
Type
boolean

getProperty()

Returns:
Type
olympe.dc.Tag

getStrict()

Returns:
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