%dw 2.0
output application/json
fun a(blabla : {}, asd: Number = 123): Number = ["2", "asdf"][0] as Number + asd
---
a match {
    case "cfbd" -> 123
    case v is String -> "SADF"
    case z is (Number) -> Object -> "ASDCWA"
    case y is (Object) -> String -> y({"Hello": "Incorrect result"})
    case x is (String) -> Number -> x("111")
    case y is (Array) -> Number -> "Blabla"
    case correct is (Object) -> Number -> {"Hello": "Correct result"}
    case moreCorrect is (Object, Number) -> Number -> {"sadf": "asdfwqe"}
    else -> 333
}