contains

fun contains(primitive: ERROR CLASS: Symbol not found for JsAny?? = definedExternally): Boolean(source)

Determines if this collection contains a primitive.

Return

true if the primitive is in the collection; false if the primitive is undefined or was not found in the collection.

Parameters

primitive

The primitive to check for.

See also