• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • svelte-ast-build
  • html
  • isHTML

Function isHTML

  • isHTML(node: unknown): node 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

    Parameters

    • node: unknown

    Returns node is HTMLNode

    @NO_SIDE_EFFECTS

    • Defined in pkgs/svelte-ast-build/src/html.js:39

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc