``` val definitely = listOf(routes("/hello" bin...
# http4k
d
Copy code
val definitely = listOf(routes("/hello" bind Method.GET to { Response(OK).body("HELLO") }))
    val maybe = if (true) listOf(routes("/bob" bind Method.GET to { Response(OK).body("BOB") })) else emptyList()
    val output = routes(*(definitely + maybe).toTypedArray())