hasFunctions

abstract fun hasFunctions(includeNested: Boolean = true, includeLocal: Boolean = true): Boolean

Determines whatever the declaration has functions.

Return

true if the declaration has any function, false otherwise.

Parameters

includeNested

Specifies whether to include nested functions in the check (optional, default is true).

includeLocal

Specifies whether to include local functions in the check (optional, default is true).