function assertimport { assert } from "https://dotland.deno.dev/x/polkadot@0.2.35/util/index.ts"; assert(condition: unknown, message: string | MessageFn): asserts conditionExamples const { assert } from '@polkadot/util'; assert(true, 'True should be true'); // passes assert(false, 'False should not be true'); // Error thrown assert(false, () => 'message'); // Error with 'message' Parameterscondition: unknownmessage: string | MessageFnReturnsasserts condition