withReturnValue

List containing declarations with non-Unit return values, which may or may not have explicitly defined return types.

Return

A list containing declarations with the return value other than Unit.