Skip to main content
Asynchronously queries whether a given entitlement type is currently active for the user. Use this to gate features or show conditional UI based on active entitlements. This method automatically performs a smart refresh to guarantee fresh entitlement data before returning the result.

Signature

Parameters

NameTypeDescription
typeEntitlementThe entitlement type
scopeEntitlementScopeThe scope to check (.all includes provisional grants; .verified refreshes against the backend’s verified set)

Returns

Returns true if the specified entitlement is currently active for the user, false otherwise.

Usage

For reactive, real-time entitlement tracking in Combine-based apps, use isActivePublisher() instead.