Skip to main content
Module

x/evt/tools/isCallableFunction.ts>isCallableFunction

💧EventEmitter's typesafe replacement
Go to Latest
function isCallableFunction
import { isCallableFunction } from "https://deno.land/x/evt@v2.4.3/tools/isCallableFunction.ts";

NOTE: constructors are of type "function" but are not callable, without the new keyword. This function will return true if and only if the object passed is a function and it is not a constructor.

Returns

boolean