hasObjects

abstract fun hasObjects(includeNested: Boolean = true): Boolean

Determines whatever the declaration has objects.

Return

true if the declaration has any object, false otherwise.

Parameters

includeNested

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