pub fn validate_policy_patch(check: PatchCheck<'_>) -> Result<(), PatchError>Expand description
What: Check a policy patch against the exact supported grammar. Why: Each rule removes one way a proposal could address another path or change another mode.
In TS you’d write (pseudocode):
validatePolicyPatch({ patch, expectedRevision }); // throws TypeError