Equatable
-

Swift Array Contains: Check if an Element Exists
Swift arrays have no `include` or `has`. Use `contains(_:)` for Equatable values, `contains(where:)` for predicates, and a Set for fast repeated lookups.

Swift arrays have no `include` or `has`. Use `contains(_:)` for Equatable values, `contains(where:)` for predicates, and a Set for fast repeated lookups.