console.log(
stringify({
"_t": "query",
"condition": {
"_t": "condition",
"op": "and",
"nodes": [
{
"_t": "in-parens",
"node": {
"_t": "feature",
"context": "boolean",
"feature": "monochrome",
}
}
],
},
"type": "screen",
})
);
// 'screen and (monochrome)'
Generated using TypeDoc
turns an AST into an equivalent string