Returns a new flag box with the specified flags removed (bitwise AND NOT). Idempotent: removing an unset flag leaves the bits unchanged.
if any name is not registered.
const box = registry.of("read", "write", "execute");const result = remove(box, "write");result.has("read"); // trueresult.has("write"); // falseresult.has("execute"); // true Copy
const box = registry.of("read", "write", "execute");const result = remove(box, "write");result.has("read"); // trueresult.has("write"); // falseresult.has("execute"); // true
Returns a new flag box with the specified flags removed (bitwise AND NOT). Idempotent: removing an unset flag leaves the bits unchanged.