getEventSlug

Function

Builds a slug for the given IEvent record.

  • getEventSlug(event: IEvent) : string

Parameters

Parameter Type Default Notes
event Required IEvent

An IEvent record

Returns

the slug for the given IEvent record

string

Function defined in common/src/events/_internal/getEventSlug.ts:9