Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dax/src/deps.ts>Buffer#empty

Cross platform shell tools for Deno inspired by zx.
Very Popular
Go to Latest
method Buffer.prototype.empty
import { Buffer } from "https://deno.land/x/dax@0.28.0/src/deps.ts";

Returns whether the unread portion of the buffer is empty.

Returns

boolean