%dw 2.0
output application/json
var a : "10" = "10"
---
{
    a: if (a is "10") "Yep" else "Nop",
    b: if (a is "9") "Yep" else "Nop",
    c: if (a is 10) "Yep" else "Nop",
    d: if(typeOf(a) == String) "Yep" else "Nop"
}