reduceByGroupMembership
Utility that returns reducer function that filters a user's groups by membership type and produces an array of group id's
Parameters
Returns
{((memo: string[], group: IGroup) => string[])}
function(memo: string[], group: IGroup) : string[]
Function defined in discussions/src/utils/platform.ts:25