Skip to main content
Module

x/deno2node/src/deps.deno.ts>Node.hasBody

Compile your Deno project to run on Node.js.
Latest
method Node.hasBody
import { Node } from "https://deno.land/x/deno2node@v1.12.0/src/deps.deno.ts";

Gets if the node has a body.

Parameters

node: T
  • Node to check.

Returns

node is T & { getBody(): Node; }