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

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

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

Examples

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

isFunction(() => false); // => true

Parameters

value: unknown

Returns

value is FnType