PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/node_modules/moment/src/lib/utils/is-array.js

https://bitbucket.org/coleman333/smartsite
JavaScript | 3 lines | 3 code | 0 blank | 0 comment | 1 complexity | afac55da9cfb85e6ded30d97e68090ff MD5 | raw file
1export default function isArray(input) {
2    return input instanceof Array || Object.prototype.toString.call(input) === '[object Array]';
3}