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

x/polkadot/util/mod.ts>isU8a

Package publishing for deno.land/x/polkadot
Go to Latest
function isU8a
Re-export
import { isU8a } from "https://deno.land/x/polkadot@0.2.11/util/mod.ts";

Examples

import { isUint8Array } from 'https://deno.land/x/polkadot@0.2.11/util/mod.ts';

console.log('isU8a', isU8a([])); // => false

Parameters

optional
value: unknown

Returns

value is Uint8Array