getNumberParam

fun ApplicationCall.getNumberParam(key: String = "id"): Int

Get value from params with validate