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

x/polkadot/util/mod.ts>u8aEq

Package publishing for deno.land/x/polkadot
Go to Latest
function u8aEq
import { u8aEq } from "https://deno.land/x/polkadot@0.2.19/util/mod.ts";

Examples

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

u8aEq(new Uint8Array([0x68, 0x65]), new Uint8Array([0x68, 0x65])); // true

Parameters

a: HexString | Uint8Array | string
b: HexString | Uint8Array | string

Returns

boolean