Files
pezkuwi-common/packages/util/cjs/is/utf8.d.ts
T

8 lines
238 B
TypeScript

/**
* @name isUtf8
* @summary Tests if the input is valid Utf8
* @description
* Checks to see if the input string or Uint8Array is valid Utf8
*/
export declare function isUtf8(value?: number[] | Uint8Array | string | null): boolean;