IsInGroupWithId

Function: isInGroupWithId()

[object Object]

Defined in: util/group.util.ts:45

Checks if the current user is in a specific group by ID with an optional role.

Parameters

tokenParsed

TokenParsed

The parsed token.

group

[object Object]

The ID of the group to check.

role?

[object Object]

The optional role within the group.

year?

[object Object]

The optional year of the membership.

Returns

[object Object]

True if the user is in the specified group, false otherwise.

On this page