NodebufferisUtf8function isUtf8#isUtf8(input: Buffer | ArrayBuffer | TypedArray): booleanThis function returns true if input contains only valid UTF-8-encoded data, including the case in which input is empty. Throws if the input is a detached array buffer. Parameters ##input: Buffer | ArrayBuffer | TypedArrayThe input to validate. Return Type #boolean
function isUtf8#isUtf8(input: Buffer | ArrayBuffer | TypedArray): booleanThis function returns true if input contains only valid UTF-8-encoded data, including the case in which input is empty. Throws if the input is a detached array buffer. Parameters ##input: Buffer | ArrayBuffer | TypedArrayThe input to validate. Return Type #boolean