@serenity-is/corelib / Criteria
Criteria
Helpers for composing and inspecting Serenity criteria arrays.
Remarks
Criteria are plain arrays in the form [left, operator, right] (binary),
[operator, operand] (unary), or nested with "and"/"or" joiners.
The static helpers here handle empty-value short-circuiting so callers can
unconditionally combine optional filters.