Skip to content

falsey values don't match reference implementation? #38

@hasufell

Description

@hasufell

https://mustache.github.io/#demo if you set "empty": 0 it is still treated as falsey. Afair, this was also the case for hastache. But stache does not.

Note that the spec seems to talk about falsey not false.

https://github.com/mustache/spec/blob/master/specs/sections.yml#L44

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions