CSS Hooks
Documentation
Source on GitHub

Home > @css-hooks/core > CreateHooksResult > and

CreateHooksResult.and property

Combines a list of conditions into a single condition which is true when all of the specified conditions are true.

Signature:

and: <C extends Condition<S>[]>(...conditions: C) => { and: C; };