Skip to content

DoCurious API Reference / store / selectCanReceiveGifts

Function: selectCanReceiveGifts()

selectCanReceiveGifts(state): boolean

Defined in: store/useAuthStore.ts:609

Check if the user can receive gifted challenges (requires Tier 2+ account).

Parameters

state

AuthStore

Auth store state

Returns

boolean

true if the user is not restricted to Tier 1

DoCurious Platform Documentation