pub fn contains(self: Self, key: K) bool self: Selfkey: K1215
1216
1217
1218
1219 pub fn contains(self: Self, key: K) bool {
if (@sizeOf(Context) != 0)
@compileError("Cannot infer context " ++ @typeName(Context) ++ ", call containsContext instead.");
return self.containsContext(key, undefined);
}
Return true if there is a value associated with key in the map.