Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

multiOrEqual

  • multiOrEqual<T>(source: NotFunction<T>, ...targets: MOET<T>[]): boolean
  • return whether or not source is fit for any element of targets.

    example

    multiOrEqual(10, num => num > 5, 0);

    // => true

    Type parameters

    • T

    Parameters

    • source: NotFunction<T>
    • Rest ...targets: MOET<T>[]

    Returns boolean

multiAndEqual

  • multiAndEqual<T>(source: NotFunction<T>, ...targets: MOET<T>[]): boolean
  • return whether or not source is fit for every element of targets.

    example

    multiAndEqual(10, num => num > 5, 0);

    // => false

    Type parameters

    • T

    Parameters

    • source: NotFunction<T>
    • Rest ...targets: MOET<T>[]

    Returns boolean

Generated using TypeDoc