Pacote
    Preparing search index...

    Function iff

    • Type Parameters

      • T

      Parameters

      • predicate: boolean
      • onConsequent: () => T

      Returns Option<T>

    • Type Parameters

      • T

      Parameters

      • predicate: boolean
      • onConsequent: () => T
      • onAlternative: () => T

      Returns T