JS Type-Check Undefined ou String

typeCheck('{x: Number, y: Maybe Boolean}', {x: 2});                 // true
florinrelea