UNPKG

238 BTypeScriptView Raw
1/**
2 * @name isUtf8
3 * @summary Tests if the input is valid Utf8
4 * @description
5 * Checks to see if the input string or Uint8Array is valid Utf8
6 */
7export declare function isUtf8(value?: number[] | Uint8Array | string | null): boolean;