resolve

fun resolve(section: ConfigurationSection, path: String, type: KType, alias: String? = null): Any?

Resolves the value at the specified path from the section as the given type.

Return

the resolved value, or null if it cannot be resolved

Parameters

section

the ConfigurationSection to read from

path

the configuration path to the value

type

the KType of the value to resolve