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

Function isBlock

  • isBlock(input: unknown): input is Block

    Type check guard to check if provided AST node is a logic block AST.Block.

    Parameters

    • input: unknown

      AST Node @NO_SIDE_EFFECTS

    Returns input is Block

    See

    https://svelte.dev/docs/logic-blocks

    • Defined in pkgs/svelte-ast-analyze/src/template/block.ts:140

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc