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

x/polkadot/util/mod.ts>u8aSorted

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

Examples

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

u8aSorted([new Uint8Array([0x69]), new Uint8Array([0x68])]); // [0x68, 0x69]

Parameters

u8as: Uint8Array[]

Returns

Uint8Array[]