contains

fun contains(entity: Entity): Boolean(source)

Returns true if the provided entity is in this collection, false otherwise.

Return

true if the provided entity is in this collection, false otherwise.

Parameters

entity

The entity.

See also