UNPKG

@clerk/shared

Version:

Internal package utils used by the Clerk SDKs

15 lines (13 loc) 525 B
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); //#region src/internal/clerk-js/organization.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_`. */ function isOrganizationId(id) { return typeof id === "string" && id.startsWith("org_"); } //#endregion exports.isOrganizationId = isOrganizationId; //# sourceMappingURL=organization.js.map