hasElement

fun hasElement(element: Int, array: IntArray): Boolean(source)

Return

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

Parameters

element

the element to check

array

the array to check