function isGroupSlugTaken
isGroupSlugTaken(
slug: string,
excludeGroupId?: number,
): Promise<boolean>

Check if a group slug is already in use. Checks both events and groups for cross-table uniqueness.

Parameters

slug: string
optional
excludeGroupId: number

Return Type

Promise<boolean>

Usage

import { isGroupSlugTaken } from "doc.ts";