api / type
GenericOperation
Generic operation with logical operations available for all types.
Generic operation with logical operations available for all types.
Signature
export type GenericOperation = OperationResult & {
/** Chains an OR operation */
or: LogicalOperation<any>;
/** Chains an OR-NOT operation */
orNot: LogicalOperation<any>;
/** Chains an AND operation */
and: LogicalOperation<any>;
/** Chains an AND-NOT operation */
andNot: LogicalOperation<any>;
/** Chains an equality comparison */
equals: ComparisonOperation<any>;
/** Chains an inequality comparison */
notEquals: ComparisonOperation<any>;
/** Chains an OR operation with an equality check on two other values */
orBothEqual: LogicWithComparisonOperation<any>;
/** Chains an OR operation with an inequality check on two other values */
orBothUnequal: LogicWithComparisonOperation<any>;
/** Chains an AND operation with an equality check on two other values */
andBothEqual: LogicWithComparisonOperation<any>;
/** Chains an AND operation with an inequality check on two other values */
andBothUnequal: LogicWithComparisonOperation<any>;
/** Chains an OR operation with a less-than comparison on two other values */
orThisIsLT: LogicWithComparisonOperation<number>;
/** Chains an OR operation with a less-than-or-equal comparison on two other values */
orThisIsLTE: LogicWithComparisonOperation<number>;
/** Chains an OR operation with a greater-than comparison on two other values */
orThisIsGT: LogicWithComparisonOperation<number>;
/** Chains an OR operation with a greater-than-or-equal comparison on two other values */
orThisIsGTE: LogicWithComparisonOperation<number>;
/** Chains an AND operation with a less-than comparison on two other values */
andThisIsLT: LogicWithComparisonOperation<number>;
/** Chains an AND operation with a less-than-or-equal comparison on two other values */
andThisIsLTE: LogicWithComparisonOperation<number>;
/** Chains an AND operation with a greater-than comparison on two other values */
andThisIsGT: LogicWithComparisonOperation<number>;
/** Chains an AND operation with a greater-than-or-equal comparison on two other values */
andThisIsGTE: LogicWithComparisonOperation<number>;
};