Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/adka/deno.d.ts>Deno.Buffer#empty

SSG & SSR: Static site generator and server side rendering using JSX.
Latest
method Deno.Buffer.prototype.empty
import { Deno } from "https://deno.land/x/adka@0.1.5/deno.d.ts";
const { Buffer } = Deno;

Returns whether the unread portion of the buffer is empty.

Returns

boolean