Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
chain-able-deps / dist / typings / array / spliceOut.d.ts
Size: Mime:
/**
 * @name spliceIn
 * @since 5.0.0 beta.6
 * @memberOf array
 *
 * @param {Array} array array to splice
 * @param {number} idx index to splice at
 * @param {boolean} [canEdit=false] should mutate
 * @return {Array}
 *
 * {@link https://github.com/facebook/immutable-js/blob/master/src/Map.js#L930 immutable-js-splice-in}
 * @see {@link immutable-js-splice-in}
 *
 * @example
 *
 *    spliceIn(['zero', 'one'], 1)
 *    //=> ['zero']
 *
 *    spliceIn(['zero', 'one'], 0)
 *    //=> ['one']
 *
 *    spliceIn(['zero', 'one'], 0, true)
 *    //=> ['one']
 *
 */
declare function spliceOut(array: any[], idx: number, canEdit?: boolean): any[];
export default spliceOut;