590 B
590 B
Functions
isFunction
▸ isFunction(value: any): boolean
Defined in is/function.ts:19
name: isFunction
summary: Tests for a function.
description: Checks to see if the input value is a JavaScript function.
example:
import { isFunction } from '@polkadot/util';
isFunction(() => false); // => true
Parameters:
| Name | Type |
|---|---|
| value | any |
Returns: boolean