UNPKG

traverson

Version:

Hypermedia API/HATEOAS client for Node.js and the browser

11 lines (9 loc) 180 B
'use strict'; module.exports = { isArray: function(o) { if (o == null) { return false; } return Object.prototype.toString.call(o) === '[object Array]'; } };