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

NOTE: Svelte v5 includes a new block AST.SnippetBlock

  • Parameters

    • node: SvelteNode

      Supported AST node to narrow down its inferred type

    Returns node is Block