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.
13 lines (8 loc) • 415 B
JavaScript
import fromPolyfill from 'core-js/library/fn/array/from'
import isArrayPolyfill from 'core-js/library/fn/array/is-array'
// --- Static ---
export const from = Array.from || fromPolyfill
export const isArray = Array.isArray || isArrayPolyfill
// --- Instance ---
export const arrayIncludes = (array, value) => array.indexOf(value) !== -1
export const concat = (...args) => Array.prototype.concat.apply([], args)