Hierarchy

  • ArrayHelper

Constructors

Methods

Constructors

Methods

  • Can be used to remove duplicate entries from arrays with primitive values.
    Usage:
    const uniqueValues = arr.filter(Cbn.utils.ArrayHelper.distinctFilter);

    Type Parameters

    • T extends string | number

    Parameters

    • value: T
    • idx: number
    • self: T[]

    Returns boolean

Generated using TypeDoc