Function catOpts

  • Transforms array of opts into an array where Nones are omitted and Somes are unwrapped.

    catOpts([opt(1), opt(null)]) // [1]
    

    Type Parameters

    • A

    Parameters

    • xs: readonly Opt<A>[]

    Returns A[]

Generated using TypeDoc