DoxigAlpha

contains

Check if the set contains an item matching the passed string

Function parameters

Parameters

#
value:[]const u8

A BufSet is a set of strings.

Types

#
BufSet
A BufSet is a set of strings.

Source

Implementation

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