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

anyof, allof syntax for multiline boolean value expressions #190

@koraa

Description

@koraa
const anyof = false;

const foo = anyof
  || 42
  || 23;

const bar = allof
 && 42
 && null;

Is this a good syntax? is this a good name? Do we need similar versions for other cases?

Metadata

Metadata

Assignees

No one assigned

    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