Bitbybit Docs
    Preparing search index...

    Class RemoveDuplicatesToleranceDto<T> (Inputs.Lists)

    Numbers and a tolerance for lists.removeDuplicateNumbersTolerance, which drops near-repeats.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    Properties

    list: T[]

    The numbers to remove near-repeats from; the first of each group stays.

    undefined
    
    tolerance: number

    Numbers closer together than this count as the same.

    1e-7
    

    0

    Infinity

    1e-7

    clone?: boolean

    When true, the list is deep-copied first so the input is never changed.

    true