Check the structure of a policy and parse its selectors.
This does not check that == / != values are IPLD values. Delegations are fully validated with assertPolicy (in utils.js) when created or decoded.
==
!=
assertPolicy
utils.js
If the policy is malformed.
Check the structure of a policy and parse its selectors.
This does not check that
==/!=values are IPLD values. Delegations are fully validated withassertPolicy(inutils.js) when created or decoded.