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

x/polkadot/util/mod.ts>assertReturn

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

Parameters

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