diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2025-11-04 00:18:30 -0800 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2025-11-04 00:28:40 -0800 |
| commit | 47ea3a63474e40c12164c1ebf4eec3121c3b217c (patch) | |
| tree | 26f06c243fc355898abf1218b5e978012f75b77c /test | |
| parent | 1b364d51b8d18936bae913e999316ae171c39c74 (diff) | |
setup for publishing
Diffstat (limited to 'test')
| -rw-r--r-- | test/test.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test.ts b/test/test.ts new file mode 100644 index 0000000..89697fe --- /dev/null +++ b/test/test.ts @@ -0,0 +1,6 @@ +import { createFn } from "../src"; + +const adder = createFn("fn(x, map(arr(10,20,30), fn(y, add(x, y))))"); + +const result = adder(5); +console.log(result); |
