indexOf

open override fun indexOf(element: MutablePart): Int

Retrieves the position of the segment in the mutable part collection. The first segment that is equal to the supplied segment is returned.

Return

The position of the segment in the collection, -1 otherwise.

Since

200.1.0

Parameters

element

The part to find