Self Array.remove_value (Mixed val, [Function func = null]) vs. 1.1.0 Full+Lite

Removes a given value from the array.

Parameters

Mixed val Required vs. 1.1.0 Full+Lite
The value to remove from the array.
Function func (Optional - Default: null) vs. 1.1.0 Full+Lite
A function that will process the array values before checking for removal. This should be used when the array values are not easily compared.

Return

Self Required vs. 1.1.0 Full+Lite
The original array will be returned after the value was removed.

Examples

Using Array.remove_value(val)
Demo: