source: imaps-frontend/node_modules/es-abstract/helpers/IsArray.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 340 bytes
RevLine 
[d565449]1'use strict';
2
3var GetIntrinsic = require('get-intrinsic');
4
5var $Array = GetIntrinsic('%Array%');
6
7// eslint-disable-next-line global-require
[79a0317]8var toStr = !$Array.isArray && require('call-bound')('Object.prototype.toString');
[d565449]9
10module.exports = $Array.isArray || function IsArray(argument) {
11 return toStr(argument) === '[object Array]';
12};
Note: See TracBrowser for help on using the repository browser.