-
I write a Js macro for some checking. Initially, I want to let it return a I am not sure about if is my macro's mistake. Then I write a simplest Js macro just accept a value then return exports.name = "testBool";
exports.params = [
{name: "testPara"}
];
/*
Run the macro
*/
exports.run = function(testPara) {
if (testPara === "true")
return true;
else
return false;
}; If I call the macro like Finally, I take string |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @fish-404 JavaScript macros in TiddlyWiki must return a string result; Boolean results are not supported. |
Beta Was this translation helpful? Give feedback.
Hi @fish-404 JavaScript macros in TiddlyWiki must return a string result; Boolean results are not supported.