bootstrap-vue
Version:
BootstrapVue, with over 40 plugins and more than 75 custom components, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated WAI-ARIA accessibility markup.
16 lines (13 loc) • 594 B
JavaScript
import fromPolyfill from 'core-js/library/fn/array/from';
import isArrayPolyfill from 'core-js/library/fn/array/is-array'; // --- Static ---
export var from = Array.from || fromPolyfill;
export var isArray = Array.isArray || isArrayPolyfill; // --- Instance ---
export var arrayIncludes = function arrayIncludes(array, value) {
return array.indexOf(value) !== -1;
};
export var concat = function concat() {
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
return Array.prototype.concat.apply([], args);
};