remove

fun remove(data: <Error class: unknown class>? = null): Boolean

Removes the first element in @queue that contains @data.

Return

true if @data was found and removed from @queue

Since

2.4

Parameters

data

the data to remove