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

x/proc/legacy/deps.ts>Buffer#empty

A better way to work with processes in Deno.
Very Popular
Go to Latest
method Buffer.prototype.empty
Re-export
import { Buffer } from "https://deno.land/x/proc@0.20.35/legacy/deps.ts";

Returns whether the unread portion of the buffer is empty.

Returns

boolean