fun <T : KoBaseProvider> List<T>.print(prefix: String? = null, predicate: (T) -> String? = null): List<T>
Print the declarations.
Return
The original list of declarations.
Parameters
prefix
An optional string to be printed before each declaration. Default is null.
predicate
An optional function that generates the string representation of each declaration. If predicate is not provided (default is null
), the function uses toString
method.