FuzzyMap.existsExactly()

This commit is contained in:
2021-12-30 10:45:11 -07:00
parent d2f100f596
commit 63cca59789

View File

@@ -64,6 +64,10 @@ abstract FuzzyMap<T>(StringMap<T>) from StringMap<T> to StringMap<T> {
return bestMatch(fuzzySearchKey, false) != null; return bestMatch(fuzzySearchKey, false) != null;
} }
public inline function existsExactly(searchKey:String):Bool {
return this.exists(searchKey);
}
@:arrayAccess @:arrayAccess
public inline function set(key:String, v:T):T { public inline function set(key:String, v:T):T {
this.set(key, v); this.set(key, v);