refIsHTMLElementArray

Verifies that a ref is an array containing at least one HTMLElement.

function refIsHTMLElementArray(value: unknown): value is HTMLElement[];
  • value - The value to type check.

Returns true if the ref is an HTMLElement array with at least one item, 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...