fun index(list: SList, data: <Error class: unknown class>? = null): <Error class: unknown class> Gets the position of the element containing the given data (starting from 0).
Return
the index of the element containing the data, or -1 if the data is not found
Parameters