@clerk/clerk-js
Version:
Clerk JS library
7 lines (6 loc) • 299 B
TypeScript
/**
* Checks and assumes a string is an organization ID if it starts with 'org_', specifically for
* disambiguating with slugs. `_` is a disallowed character in slug names, so slugs cannot
* start with `org_`.
*/
export declare function isOrganizationId(id: string | null | undefined): boolean;