Skip to main content

group_from

Get the group part of an event type name.

def group_from(
type: string
) - > string

Get the group part of an event type name.

Parameters

NameTypeDescription
typestringThe full event type name string to be parsed

Returns

TypeDescription
stringThe prefix of the event type string before the first hyphen, representing the event's category or group