Added convenient Arguments#has

This commit is contained in:
themode 2021-02-14 00:25:08 +01:00
parent df2ee23a7c
commit beaf25ff47

View File

@ -49,6 +49,10 @@ public final class Arguments {
});
}
public boolean has(@NotNull String identifier) {
return args.containsKey(identifier);
}
/**
* @deprecated use {@link #get(Argument)}.
*/