composePolicies
composePolicies(
policies,mode):TrustPolicy
Defined in: packages/sdk/src/trust/policy.ts:82
Combine policies. all requires every child to accept; any accepts if one does.
Children are always evaluated so reasons stay complete.
Parameters
Section titled “Parameters”policies
Section titled “policies”"all" | "any"
Returns
Section titled “Returns”Throws
Section titled “Throws”TypeError When mode is not "all" or "any".