operator - method

List<E> operator -(
  1. Iterable<E> elements
)

Returns a new list containing all elements of this collection except the elements contained in the given elements collection.

Implementation

List<E> operator -(Iterable<E> elements) => except(elements).toList();