method Buffer.prototype.emptyView codeBuffer.prototype.empty(): booleanReturns whether the unread portion of the buffer is empty. Return TypebooleanView code