``` fun reformat(str: String, normali...
# getting-started
s
Copy code
fun reformat(str: String,
             normalizeCase: Boolean = true,
             upperCaseFirstLetter: Boolean = true,
             divideByCamelHumps: Boolean = false,
             wordSeparator: Char = ' ') {
...
}
The above function can be called as following from the http://kotlinlang.org/docs/reference/functions.html#named-arguments reformat(str, true, true, false, '_') Shouldn't the above be
reformat(str = "some value here", true, true, false, '_')
? In the examples, were calling the reformat without providing either default or explicit value of the parameter.