Skip to content

DoCurious API Reference / store / selectCanCreateCommunity

Function: selectCanCreateCommunity()

selectCanCreateCommunity(state): boolean

Defined in: store/useAuthStore.ts:591

Check if the user can create friend communities (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