enum PlaceOS::Model::Trigger::Conditions::Comparison::Operator

Defined in:

placeos-models/trigger/conditions.cr

Enum Members

And = 0
Equal = 1
ExclusiveOr = 2
GreaterThan = 3
GreaterThanOrEqual = 4
LessThan = 5
LessThanOrEqual = 6
NotEqual = 7
Or = 8

Instance Method Summary

Instance Method Detail

def and? #

def compare(left : JSON::Any::Type, right : JSON::Any::Type) : Bool #

ameba:disable Metrics/CyclomaticComplexity


def equal? #

def exclusive_or? #

def greater_than? #

def greater_than_or_equal? #

def less_than? #

def less_than_or_equal? #

def not_equal? #

def or? #