Inspectopedia Help

Empty argument parentheses before closure

Reports empty parentheses after function calls where trailing closures are used.

Suggests removing empty parentheses.

Example:

any() { $0 > 0 }

After the quick-fix is applied:

any { $0 > 0 }

Inspection Details

Available in:

AppCode 2023.3

Plugin:

Swift Language Support, 233.SNAPSHOT

Last modified: 13 July 2023