Function contains [src]

Check if the set contains an item matching the passed string

Prototype

pub fn contains(self: BufSet, value: []const u8) bool

Parameters

self: BufSetvalue: []const u8

Source

pub fn contains(self: BufSet, value: []const u8) bool { return self.hash_map.contains(value); }