function isUtf8
Jump to headingisUtf8(input: ): 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 Jump to heading
Jump to headinginput: The input to validate.
Return Type Jump to heading
boolean