YamlConfig

expect fun YamlConfig(path: String?): YamlConfig?

Loads a configuration from the YAML file, if found. On JVM, loads a configuration from application resources, if exists; otherwise, reads a configuration from a file. On Native, always reads a configuration from a file.

actual fun YamlConfig(path: String?): YamlConfig?

Loads a configuration from the YAML file, if found. On JVM, loads a configuration from application resources, if exist; otherwise, reads a configuration from a file. On Native, always reads a configuration from a file.

actual fun YamlConfig(path: String?): YamlConfig?

Loads a configuration from the YAML file, if found. On JVM, loads a configuration from application resources, if exist; otherwise, reads a configuration from a file. On Native, always reads a configuration from a file.