UNPKG

pimatic

Version:

A home automation server and framework for the Raspberry PI running on node.js

4 lines (3 loc) 149 B
export default function isFunction(input) { return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; }