Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/fresh@1.6.1/src/dev/deps.ts";

Gets if the node has a body.

Parameters

node: T
  • Node to check.

Returns

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