ONLang/examples/assertions.onla

12 lines
187 B
Text
Raw Normal View History

2022-08-18 17:48:02 +03:00
//artegoser
//assertions module for onlang
[
{
fn: {
name: "eq",
args: ["a", "b"],
body: [{ return: { comp: [{ var: "a" }, "==", { var: "b" }] } }],
},
},
]