Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dtils/deps.ts>streamUtils.Buffer#empty

The best unofficial library of utilities for Deno applications
Go to Latest
method streamUtils.Buffer.prototype.empty
Re-export
import { streamUtils } from "https://deno.land/x/dtils@2.5.0/deps.ts";
const { Buffer } = streamUtils;

Returns whether the unread portion of the buffer is empty.

Returns

boolean