Skip to contents

Get the index of an element in list.

Usage

indexOf(object, x)

# S4 method for pmx_list,pmx_element
indexOf(object, x)

Arguments

object

list object

x

element to know the index

Value

index of this element