refIsVue

Verifies that a ref is a single Vue component and nothing else.

function refIsVue(value: unknown): value is ComponentPublicInstance;
  • value - The value to type check.

Returns true if the ref is a Vue (component), otherwise false.

Sök

Esc för att stänga Pil upp/ner för att navigera Enter för att välja

Välj version

Var god vänta, laddar versionsdata...