• Maps over items of a list, but fn can return a None to remove the item.

    Type Parameters

    • T

    • U

    Parameters

    • fn: ((item) => Option<U>)

      A function to map the item.

    Returns ((list) => List<U>)

    The mapped new list.

Generated using TypeDoc