• Filters the value only if satisfies pred.

    Type Parameters

    • A

    Parameters

    • pred: ((a) => boolean)

      Condition to filter.

        • (a): boolean
        • Parameters

          • a: A

          Returns boolean

    Returns Optic<A, A, A, A>

    The computation to filter the data.

Generated using TypeDoc