UNPKG

node-nlp

Version:

Library for NLU (Natural Language Understanding) done in Node.js

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