net.corda.core.utilities / NonEmptySet / retainAll

retainAll

fun retainAll(elements: Collection<T>): Boolean