declarationsOf

inline fun <T : KoBaseProvider> KoScope.declarationsOf(includeNested: Boolean = true, includeLocal: Boolean = true): List<T>

The declarations of type T present in the scope.

Return

A list of declarations of type T present in the scope.

Parameters

includeNested

specifies whether to include nested declarations, by default true.

includeLocal

specifies whether to include local declarations, by default true.