hasAllModifiers

abstract fun hasAllModifiers(modifier: KoModifier, vararg modifiers: KoModifier): Boolean

Determines whether the declaration has all specified modifiers.

Return

true if there are declarations with all the specified modifiers, false otherwise.

Parameters

modifier

the modifier to check.

modifiers

the modifiers to check.


abstract fun hasAllModifiers(modifiers: Collection<KoModifier>): Boolean

Determines whether the declaration has all specified modifiers.

Return

true if there are declarations with all the specified modifiers, false otherwise.

Parameters

modifiers

the modifiers to check.