indexOf

indexOf(Portion item) function

Determines the index of a specific item in the List.

Parameters

NameTypeDescription
itemPortionThe object to locate in the List.

Result

int


indexOf(MathPortion item) function

Determines the index of a specific item in the List.

Parameters

NameTypeDescription
itemMathPortionThe object to locate in the List.

Result

int