SegmentSpec.normalize
You're seeing just the function
normalize
, go back to SegmentSpec module for more information.
Specs
normalize(event_struct() | event_map(), Keyword.t()) :: {:ok, event_map()} | {:error, String.t()}
Returns a normalized version of the given Segment event, in which Segment's
internal fields have been coerced into snake_case. Pass the include_nil: true
option to include empty fields.