Skip to main content

Hooks

useCheckEntitlement

Check a single entitlement for a customer.
Parameters:

useHasFeature

Boolean shorthand — returns true or false.

useEntitlements

List all entitlements for a customer.

useIsApproachingLimit

Returns true when usage is within a threshold of the limit (default: 80%).
Parameters:

Entitlement object