main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
364 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import _has from "./_has.js";
|
---|
| 2 | var toString = Object.prototype.toString;
|
---|
| 3 |
|
---|
| 4 | var _isArguments =
|
---|
| 5 | /*#__PURE__*/
|
---|
| 6 | function () {
|
---|
| 7 | return toString.call(arguments) === '[object Arguments]' ? function _isArguments(x) {
|
---|
| 8 | return toString.call(x) === '[object Arguments]';
|
---|
| 9 | } : function _isArguments(x) {
|
---|
| 10 | return _has('callee', x);
|
---|
| 11 | };
|
---|
| 12 | }();
|
---|
| 13 |
|
---|
| 14 | export default _isArguments; |
---|
Note:
See
TracBrowser
for help on using the repository browser.