• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • svelte-ast-analyze
  • html/mod
  • isHTMLNode

Function isHTMLNode

  • isHTMLNode(input: unknown): input is HTMLNode

    Type check guard to see if provided AST node is a native HTML related.

    Those are:

    • text that is included between HTML tags - AST.Text
    • HTML comment - AST.Comment @NO_SIDE_EFFECTS

    Parameters

    • input: unknown

    Returns input is HTMLNode

    • Defined in pkgs/svelte-ast-analyze/src/html/mod.ts:87

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc