appendIdToSlug

Function

strip org key prefix from a slug and append an id

strip org key prefix from a slug and append an id

  • appendIdToSlug(slug: string, id: string) : string

Parameters

Parameter Type Default Notes
slug Required string
id Required string

Returns

string

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