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

x/polkadot/util/is/index.ts>isCodec

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

Type Parameters

optional
T extends Codec = Codec

Parameters

optional
value: unknown

Returns

value is T