Home

function: removeItems


removeItems(arr: Array.<*>, startIdx: number, removeCount: number): void

Remove a range of items from an array

Params:

Name Type Attribute Description
arr

The target array

startIdx

The index to begin removing from (inclusive)

removeCount

How many items to remove

Returns:

void

  {
    "comment": "/**\n * Remove a range of items from an array\n *\n * @memberof PIXI.utils\n * @function removeItems\n * @param {Array<*>} arr The target array\n * @param {number} startIdx The index to begin removing from (inclusive)\n * @param {number} removeCount How many items to remove\n */",
    "meta": {
        "range": [
            7753,
            8024
        ],
        "filename": "index.js",
        "lineno": 320,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\utils",
        "code": {}
    },
    "description": "

Remove a range of items from an array

", "memberof": "PIXI.utils", "kind": "function", "name": "removeItems", "params": [ { "type": { "names": [ "Array.<*>" ] }, "description": "

The target array

", "name": "arr" }, { "type": { "names": [ "number" ] }, "description": "

The index to begin removing from (inclusive)

", "name": "startIdx" }, { "type": { "names": [ "number" ] }, "description": "

How many items to remove

", "name": "removeCount" } ], "scope": "static", "longname": "PIXI.utils.removeItems", "___id": "T000002R004411", "___s": true, "filepath": "core\\utils\\index.js" }