has Properties With All Names
abstract fun hasPropertiesWithAllNames(name: String, vararg names: String, includeNested: Boolean = true): Boolean
Determines whether the declaration has properties with all the specified names.
Return
true
if there are declarations with all the specified names, false
otherwise.
Parameters
name
The name of the property to check.
names
The names of the properties to check.
include Nested
Specifies whether to include nested properties in the check (optional, default is true
).
abstract fun hasPropertiesWithAllNames(names: Collection<String>, includeNested: Boolean = true): Boolean
Determines whether the declaration has properties with all the specified names.
Return
true
if there are declarations with all the specified names, false
otherwise.
Parameters
names
The names of the properties to check.
include Nested
Specifies whether to include nested properties in the check (optional, default is true
).