Variable logicConst

logic: {
    allTrue: (...expressions: (boolean | BoolFunction)[]) => boolean;
    anyTrue: (...expressions: (boolean | BoolFunction)[]) => boolean;
    asyncAllTrue: (
        ...expressions: (boolean | BoolFunction | AsyncBoolFunction)[],
    ) => Promise<boolean>;
    asyncAnyTrue: (
        ...expressions: (boolean | BoolFunction | AsyncBoolFunction)[],
    ) => Promise<boolean>;
} = ...

Type declaration

  • allTrue: (...expressions: (boolean | BoolFunction)[]) => boolean
  • anyTrue: (...expressions: (boolean | BoolFunction)[]) => boolean
  • asyncAllTrue: (
        ...expressions: (boolean | BoolFunction | AsyncBoolFunction)[],
    ) => Promise<boolean>
  • asyncAnyTrue: (
        ...expressions: (boolean | BoolFunction | AsyncBoolFunction)[],
    ) => Promise<boolean>