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

x/polkadot/mod.ts>util.assertReturn

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

Parameters

value: T | undefined | null
message: string | MessageFn