Array.remove

Function/Meaning

Deletes the element that has the same value as the specified value.

Type
Arrayclassmethod of
Syntax
remove(value, all:bool=true)
Arguments
value

Value to delete

all

Whether or not to target all

Return value
None (void)
Explanation

It identifies and compares each element with the specified value (=== operator behavior) and removes the matching element.
Delete all, or if is false, delete only the first element found.
Otherwise, delete all found elements.