bs-ajv
Version:
BucklesScript bindings to Ajv (Another JSON Validator)
38 lines (28 loc) • 540 B
JavaScript
;
function test(x) {
if (typeof x === "string") {
return /* tuple */[
/* String */0,
x
];
} else {
return /* tuple */[
/* Buffer */1,
x
];
}
}
var Path = 0;
var Fs = 0;
var Process = 0;
var Module = 0;
var Buffer = 0;
var Child_process = 0;
exports.Path = Path;
exports.Fs = Fs;
exports.Process = Process;
exports.Module = Module;
exports.Buffer = Buffer;
exports.Child_process = Child_process;
exports.test = test;
/* No side effect */