@serenity-is/corelib / Criteria / paren
Function: paren()
paren(
c):any[]
Defined in: src/base/criteria.ts:962
Wraps a criteria in parentheses (compatibility helper).
Parameters
c
any[]
Criteria to wrap.
Returns
any[]
["()", c] or c if empty.
Remarks
Produces ["()", c]. The server treats this as a grouping no-op but it can
preserve intended precedence when criteria are serialized. Returns c unchanged if empty.