Methods

withoutΒΆ

without(arr:Arr, without_elt:Any)

Filter out all occurrences of specific value
Source: stdlib.ngs:1127

arr

items to filter

without_elt

The value to filter out

Returns

Arr

Example

[1,2,3,2].without(2)  # [1,3]