Skip to main content

Operator

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Operator(opts?, match_value?)

Parameters

NameType
opts?KeyValue
match_value?any

Overrides

LogicBlock.constructor

Properties

operator

Readonly operator: OperatorType

Methods

test

test(input, match_value): boolean

Test the value against the match using the operator type

Parameters

NameType
inputany
match_valueany

Returns

boolean