hasElement

fun hasElement(element: Double, array: DoubleArray): Boolean
fun hasElement(element: Long, array: LongArray): Boolean
fun hasElement(element: Int, array: IntArray): Boolean

Return

true if the array as at least one occurrence of the element

Parameters

element

the element to check

array

the array to check