Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Is empty tuple / record falsy? #380

@tiansh

Description

@tiansh

I have not find any specification about the truthy / falsy about the tulpe or records. I had tested the playground and it currently report !!#[] and !!#{} as true. However, I would expect it as falsy just like what assert(!!"" === false) do. Is this something not decided yet or could anyone point me a link to the previous discuses?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions