Check with mustache js if parameter is a specific value

mustache

Solution

No. The idea behind mustache is that it is a logic-less templating syntax. So, no, such a logic is not possible.

We call it "logic-less" because there are no if statements, else clauses, or for loops. Instead there are only tags. Some tags are replaced with a value, some nothing, and others a series of values. https://github.com/janl/mustache.js

Problem

Is it possible to check in mustache js for a specific value like `{{name}} == "James"` ? DATA: ``` json: { name: "James" } ``` HTML: ``` {{name}} //Will give me James as output {{name == "James" }} //Is it possible to check specific value? ```

Original source