UNPKG

node-nlp

Version:

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

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