Skip to content

anyof, allof syntax for multiline boolean value expressions #190

Open
@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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions