• Type Parameters

    • Value

      The type of the map's values.

    • Projection

      The type returned by projection.

    Parameters

    • value: unknown

      The value to validate.

    • projection: ((item) => Projection)

      The function mapping each value to the value that is used for the uniqueness check.

    Returns value is Map<unknown, unknown>