getFloatListOrAdd

fun getFloatListOrAdd(path: String, default: List<Float>): List<Float>

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

Return

The value of the given path as List of Float

Parameters

path

The path to get the value of

default

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