FUNCTION

collection.contains

pure function contains(value: T): boolean

Check if this collection contains the given element.

Parameters

  • value — the element to look up

Returns

true if this collection contains the given element, false otherwise

Since

0.6.0

© 2026 Chromia