source: node_modules/victory-vendor/lib-vendor/d3-shape/src/array.js

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 369 bytes
Line 
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.default = _default;
7exports.slice = void 0;
8var slice = exports.slice = Array.prototype.slice;
9function _default(x) {
10 return typeof x === "object" && "length" in x ? x // Array, TypedArray, NodeList, array-like
11 : Array.from(x); // Map, Set, iterable, string, or anything else
12}
Note: See TracBrowser for help on using the repository browser.