Module

x/fresh/src/dev/deps.ts>Node.hasBody

The next-gen web framework.
Extremely Popular
Go to Latest
method Node.hasBody
import { Node } from "https://dotland.deno.dev/x/fresh@1.1.1/src/dev/deps.ts";

Gets if the node has a body.

Parameters

node: T
  • Node to check.

Returns

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