Skip to content

How do I print a bool? #170

Closed
Closed
@gnzlbg

Description

@gnzlbg

I would like to print a C++ bool, such that when it is true it outputs "true", and false outputs "false". I can workaround this with the ternary operator, but it shouldn't be necessary.

There doesn't seem to be anything about this in the syntax docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions