Method ADT.Sequence()->delete_value()


Method delete_value

int delete_value(mixed value)

Description

Remove the first occurrence of the value value from the sequence.

Parameter value

The value to remove from the sequence.

Returns

The index of the removed element or -1 if there was no value to remove.