Method in collections::set · HashSet coil-stdlib

HashSet::contains

pub fn contains(T x) -> bool
Import
use collections::set::{HashSet};
Source: src/collections/set.hy

True when x is present.

Called on a HashSet value as value.contains(…).

Parameters#

NameType
xT

Returns#

bool

See also#

↑ ↓ navigate ↵ open