• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • svelte-ast-build
  • block
  • isBlock

Function isBlock

  • isBlock(node: unknown): node is Block
  • Type check guard to check if provided AST node is a logic block AST.Block.

    Parameters

    • node: unknown

      Supported AST node to narrow down its inferred type

    Returns node is Block

    @NO_SIDE_EFFECTS

    See

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

    • Defined in pkgs/svelte-ast-build/src/block.js:35

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc