Function successfulResults

Filter out unsuccessful results.

  • Type Parameters

    • T

    Parameters

    • results: readonly Result<T>[]

      array of results to filter

    Returns readonly Success<T>[]