isPresentinSwitchableOrg method
[bool] isPresentinSwitchableOrg(
- [[OrgInfo] switchToOrg]
)
This function checks switchOrg
is present in the switchAbleOrg
.
params:
switchToOrg
:OrgInfo
type of organization want to switch into.
returns:
bool
: returns true if switchToOrg is in switchAbleOrg list.
Implementation
bool isPresentinSwitchableOrg(OrgInfo switchToOrg)
- talawa
- custom_drawer_view_model
- CustomDrawerViewModel
- isPresentinSwitchableOrg method