Just an idea. How about a function that returns a ...
# server
o
Just an idea. How about a function that returns a
List<String>?
which is null if any param is missing, or param values in order, so you can do this?
Copy code
val (name, category, value) = mapQueryParams("n", "c", "v") ?: throw InvalidUrlParametersException()