Function: normalizePolicy()
function normalizePolicy(policy): string;
Defined in: policy.ts:124
Parses and re-emits a policy in canonical form: attributes quoted, every operator application parenthesized, same-op chains balanced. Throws on anything outside the language — the loud refusal is the API.
Parameters
| Parameter | Type |
|---|---|
policy | string |
Returns
string