api / type
StringAndArrayOperation
String and array operation with length-based operations.
String and array operation with length-based operations.
Extends GenericOperation with length-specific
operations for strings and arrays.
Signature
export type StringAndArrayOperation = GenericOperation & {
/** Checks whether the length is between lower and upper values. */
lengthBetween: ConfinementCheckOperation;
/** Chains a length equality comparison. */
lengthEquals: ComparisonOperation<number>;
/** Chains a length inequality comparison. */
lengthNotEquals: ComparisonOperation<number>;
/** Chains a length less-than comparison. */
lengthLT: ComparisonOperation<number>;
/** Chains a length less-than-or-equal comparison. */
lengthLTE: ComparisonOperation<number>;
/** Chains a length greater-than comparison. */
lengthGT: ComparisonOperation<number>;
/** Chains a length greater-than-or-equal comparison. */
lengthGTE: ComparisonOperation<number>;
};