Env Functions
ifelse
env logic.ifelse(
cond: 'bool',
iftrue: 'Attribute',
iffalse: 'Attribute'
)
Arguments
cond: 'bool'
=> Attribute that can be cast to bool valueiftrue: 'Attribute'
=> Output ifcond
is trueiffalse: 'Attribute'
=> Output ifcond
is false
Simple if else condition
gt
env logic.gt(a: '& Attribute', b: '& Attribute')
Arguments
a: '& Attribute'
=> first attributeb: '& Attribute'
=> second attribute
Greater than check
lt
env logic.lt(a: '& Attribute', b: '& Attribute')
Arguments
a: '& Attribute'
=> first attributeb: '& Attribute'
=> second attribute
Greater than check
eq
env logic.eq(a: '& Attribute', b: '& Attribute')
Arguments
a: '& Attribute'
=> first attributeb: '& Attribute'
=> second attribute
Greater than check
and
env logic.and(*conds)
Arguments
*conds
=> List of attributes that can be cast to bool
Boolean and
or
env logic.or(*conds)
Arguments
*conds
=> List of attributes that can be cast to bool
boolean or
not
env logic.not(cond: 'bool')
Arguments
cond: 'bool'
=> attribute that can be cast to bool
boolean not