Method in collections::set · HashSet coil-stdlib

HashSet::insert

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

Insert x; returns true when newly added.

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

Parameters#

NameType
xT

Returns#

bool

See also#

↑ ↓ navigate ↵ open