Deno.Buffer.prototype.empty - Deno documentation
method Deno.Buffer.prototype.empty
Buffer.prototype.empty(): boolean

Returns whether the unread portion of the buffer is empty.

Return Type

boolean