getSlugMaxLength

Function

get the max length of a slug, accounting for the type keyword prefix and orgKey

  • getSlugMaxLength(orgKey: string) : number

Parameters

Parameter Type Default Notes
orgKey Required string

Returns

number

Function defined in common/src/items/_internal/slugs.ts:47