Skip to content

Documentation / @agentick/core / isKnob

Function: isKnob() ​

isKnob(value): value is KnobDescriptor<KnobPrimitive, KnobPrimitive>

Defined in: core/src/hooks/knob.ts:159

Check if a value is a KnobDescriptor.

Parameters ​

value ​

unknown

Returns ​

value is KnobDescriptor<KnobPrimitive, KnobPrimitive>

Released under the ISC License.