type

Returns the type of the segment.