Skip to main content
Module

x/polkadot/mod.ts>utilCrypto.addressEq

Package publishing for deno.land/x/polkadot
Go to Latest
function utilCrypto.addressEq
import { utilCrypto } from "https://deno.land/x/polkadot@0.2.12/mod.ts";
const { addressEq } = utilCrypto;

Examples

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

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

Parameters

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

Returns

boolean