Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/util/is/utf8.ts>isUtf8

Package publishing for deno.land/x/polkadot
Go to Latest
function isUtf8
import { isUtf8 } from "https://deno.land/x/polkadot@0.2.11/util/is/utf8.ts";

Parameters

optional
value:
| number[]
| Buffer
| Uint8Array
| string
| null

Returns

boolean