export function getGroup()

in package/src/group.ts [22:30]


export function getGroup(group_id: string): GroupResponse | IdentityResponse {
    if (groupMap.has(group_id)) {
        const result = groupMap.get(group_id);
        if (result !== undefined) {
            return { id: group_id, name: result };
        }
    }
    return { message: "Group id has not be proposed." };
}