# Function toStructuredEvents

- toStructuredEvents(event: Event): StructuredEvent[]

  Converts an internal Event to a list of structured events. This is an optional utility for callers who want to easily identify the type of event they are handling.

  #### Parameters

  - event: Event

    The raw event to convert.

  #### Returns StructuredEvent[]

  The structured events.

  - Defined in events/structured_events.ts:136