@glideapps/ts-necessities
    Preparing search index...

    Function reduceTwo

    • If both a and b are undefined, return undefined. If exactly one of the two is undefined, return the other. If both are not undefined, return f(a, b).

      Type Parameters

      • T

      Parameters

      • a: undefined | T
      • b: undefined | T
      • f: (aa: T, bb: T) => T

      Returns undefined | T