@arcmantle/library
    Preparing search index...

    Variable isNodeOfConst

    isNodeOf: {
        document: (node: DOMPrimitive) => node is Document;
        element: (node: DOMPrimitive) => node is Element;
        htmlElement: (node: DOMPrimitive) => node is HTMLElement;
        shadowRoot: (node: DOMPrimitive) => node is ShadowRoot;
        window: (node: DOMPrimitive) => node is Window;
    } = ...

    Gathering of type guards for DOM nodes.

    Type declaration

    • document: (node: DOMPrimitive) => node is Document

      Checks if the node is a document.

    • element: (node: DOMPrimitive) => node is Element

      Checks if the node is an element.

    • htmlElement: (node: DOMPrimitive) => node is HTMLElement

      Checks if the node is an htmlelement.

    • shadowRoot: (node: DOMPrimitive) => node is ShadowRoot

      Checks if the node is a shadow root.

    • window: (node: DOMPrimitive) => node is Window

      Checks if the node is a window.