CSS Hooks
Documentation
Source on GitHub

Home > @css-hooks/core > ConditionHelpers > not

ConditionHelpers.not() method

Creates a condition that is true when the specified condition is false.

Signature:

not(condition: Condition<HookName>): Condition<HookName>;

Parameters

Parameter

Type

Description

condition

Condition<HookName>

**Returns:**

Condition<HookName>