UIElement Docs Version 0.13.3

🔗 Function: isState()

isState<T>(value): value is State<T>

Defined in: node_modules/@zeix/cause-effect/src/state.ts:83

Check if the provided value is a State instance

🔗 Type Parameters

🔗 T

T extends object

🔗 Parameters

🔗 value

unknown

value to check

🔗 Returns

value is State<T>

  • true if the value is a State instance, false otherwise

🔗 Since

0.9.0