Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.7/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