hasFunctionsWithAllNames

abstract fun hasFunctionsWithAllNames(name: String, vararg names: String, includeNested: Boolean = true, includeLocal: Boolean = true): Boolean

Determines whether the declaration has functions with all the specified names.

Return

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

Parameters

name

The name of the function to check.

names

The names of the functions to check.

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).


abstract fun hasFunctionsWithAllNames(names: Collection<String>, includeNested: Boolean = true, includeLocal: Boolean = true): Boolean

Determines whether the declaration has functions with all the specified names.

Return

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

Parameters

names

The names of the functions to check.

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).