array_remove_first
array_remove_first(array, element, [start_index], [length]) ⇒ boolean
Remove first occurrence of element from the array
Kind: global function
Returns: boolean
- true if element was removed, false if it was not found
Param | Type |
---|---|
array | Array.<T> |
element | T |
[start_index] | number |
[length] | number |