numProperties

abstract fun numProperties(includeNested: Boolean = true): Int

Returns the number of properties present in the declaration.

Return

The number of properties in the declaration.

Parameters

includeNested

Specifies whether to include nested properties in the count (optional, default is true).