@clerk/shared
Version:
Internal package utils used by the Clerk SDKs
9 lines • 383 B
text/typescript
//#region src/internal/clerk-js/organization.d.ts
/**
* 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_`.
*/
declare function isOrganizationId(id: string | null | undefined): boolean;
//#endregion
export { isOrganizationId };