| Method | Purpose |
|---|---|
validate(fn, validator) |
Validates arguments before execution |
ensure(fn, validator) |
Validates output |
restrict(fn, isAllowed) |
Throws if access is denied |
| Method | Purpose |
|---|---|
validate(fn, validator) |
Validates arguments before execution |
ensure(fn, validator) |
Validates output |
restrict(fn, isAllowed) |
Throws if access is denied |