Function isEmpty [src]

Prototype

pub fn isEmpty(set: Set) bool

Parameters

set: Set

Source

pub fn isEmpty(set: Set) bool { return for (set.ints) |x| { if (x != 0) break false; } else true; }