Enforce a capability declaration against the active capability policy.
Returns true when the capability is supported. When it is missing, throws
HonuaCapabilityNotSupportedError under "strict" (the default) or returns
false under "degraded" so callers can resolve to an empty result.
Enforce a capability declaration against the active capability policy. Returns
truewhen the capability is supported. When it is missing, throwsHonuaCapabilityNotSupportedErrorunder"strict"(the default) or returnsfalseunder"degraded"so callers can resolve to an empty result.