File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 * @since 3.4.0
2121 *
2222 * @param {array } array - The array to be added to.
23- * @param {*|Array.<*> } item - The item, or array of items, to add to the array. Each item must be unique within the array.
23+ * @param {any|any[] } item - The item, or array of items, to add to the array. Each item must be unique within the array.
2424 * @param {integer } [limit] - Optional limit which caps the size of the array.
2525 * @param {function } [callback] - A callback to be invoked for each item successfully added to the array.
2626 * @param {object } [context] - The context in which the callback is invoked.
Original file line number Diff line number Diff line change 2222 * @since 3.4.0
2323 *
2424 * @param {array } array - The array to be added to.
25- * @param {* } item - The item, or array of items, to add to the array.
25+ * @param {any|any[] } item - The item, or array of items, to add to the array.
2626 * @param {integer } [index=0] - The index in the array where the item will be inserted.
2727 * @param {integer } [limit] - Optional limit which caps the size of the array.
2828 * @param {function } [callback] - A callback to be invoked for each item successfully added to the array.
You can’t perform that action at this time.
0 commit comments