meerkat.bool

bool(x) bool

Overloaded bool operator.

Use this when you want to use the bool operator on reactive values (e.g. Store).

Parameters

x – The argument to convert to a bool.

Returns

The result of the bool operation.

Return type

Store[bool] | bool