minus

inline operator fun <T> Array<out T>.minus(element: T): Array<T>(source)

Returns an array containing all elements of the original collection without the first occurrence of the given element.


inline operator fun <T> Array<out T>.minus(elements: Array<out T>): Array<T>(source)

Returns an array containing all elements of the original collection except the elements contained in the given elements array.