getListOrSet

fun getListOrSet(path: String, default: List<*>): List<*>

Gets a List from the given path or sets the default value if it doesn't exist

Return

The value of the given path as List

Parameters

path

The path to get the value of

default

The default value to set if the path doesn't exist