plainfp - v0.1.0
    Preparing search index...

    Function any

    • Return the first some in input order, or none if every input is none. Useful for fallback chains where any source of the value will do.

      Type Parameters

      • T

      Parameters

      Returns OptionType<T>

      const contact = any([fromNullable(user.email), fromNullable(user.phone)])