• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • svelte-ast-analyze
  • template/tag
  • isTag

Function isTag

  • isTag(input: unknown): input is Tag

    Type check guard to see if provided AST node is "tag-like". The ones with pattern {@<tag-name>}. Exception is only AST.ExpressionTag which follows pattern {<expression>}

    Parameters

    • input: unknown

      AST node @NO_SIDE_EFFECTS

    Returns input is Tag

    • Defined in pkgs/svelte-ast-analyze/src/template/tag.ts:149

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc