source:
frontend/node_modules/underscore/amd/isArray.js
| Last change on this file was 9af201e, checked in by , 11 days ago | |
|---|---|
|
|
| File size: 233 bytes | |
| Line | |
|---|---|
| 1 | define(['./_setup', './_tagTester'], function (_setup, _tagTester) { |
| 2 | |
| 3 | // Is a given value an array? |
| 4 | // Delegates to ECMA5's native `Array.isArray`. |
| 5 | var isArray = _setup.nativeIsArray || _tagTester('Array'); |
| 6 | |
| 7 | return isArray; |
| 8 | |
| 9 | }); |
Note:
See TracBrowser
for help on using the repository browser.
