Hi everyone, can someone help me out with what thi...
# getting-started
d
Hi everyone, can someone help me out with what this symbols !! means, please? 🙂 For instance:
Copy code
private fun <T> buildBody(parameters: T) =
        jacksonObjectMapper()
            .convertValue<Map<String, String>>(parameters!!)
            .let {
                LinkedMultiValueMap<String, String>().apply {
                    setAll(it)
                }
            }
l
d
oh thank you Luke, will see there 🙂
p
If you know
parameters
cannot be null (it will throw when it is, using the
!!
) You can use
<T: Any>
to enforce it at compile time and avoid the need to use
!!
💯 1
👍 2
d
Ey Phil thanks it's interesting, I'm just did that change, thank so much!