Returns true if the flag box contains none of the specified flags.
true
const box = registry.of("read");hasNone(box, "write", "admin"); // true — neither is sethasNone(box, "read", "write"); // false — "read" is set Copy
const box = registry.of("read");hasNone(box, "write", "admin"); // true — neither is sethasNone(box, "read", "write"); // false — "read" is set
Returns
trueif the flag box contains none of the specified flags.