contains

operator fun contains(value: Boolean): Boolean(source)

Returns true if any element matches the given boolean value.

Return

true if at least one element matches the value, false otherwise.

Parameters

value

the boolean value to test for existence.