Appearance
DoCurious API Reference / store / selectHasSchool
Function: selectHasSchool()
selectHasSchool(
state):boolean
Defined in: store/useAuthStore.ts:507
Check if the user has an associated school (schoolId is set).
Parameters
state
AuthStore
Auth store state
Returns
boolean
true if the user belongs to a school