withAllConstructors

List containing declarations whose all constructors match the given predicate.

Return

A list containing declarations with the specified constructor(s).

Parameters

predicate

The predicate function to determine if a declaration constructor satisfies a condition.