Options
All
  • Public
  • Public/Protected
  • All
Menu

External module arrayf

Index

Functions

deepCopy

  • deepCopy(input: Array<any> | [key, string]): Array<any> | Object

loopSlice

  • loopSlice<T>(values: T[], startIndex: number, rawEndIndex: number, direction?: number): T[]
  • Type parameters

    • T

    Parameters

    • values: T[]
    • startIndex: number
    • rawEndIndex: number
    • Default value direction: number = 1

    Returns T[]

max

  • max<T>(values: T[], scoreFns: Array<function>): T
  • Type parameters

    • T

    Parameters

    • values: T[]
    • Rest scoreFns: Array<function>

    Returns T

min

  • min<T>(values: T[], scoreFns: Array<function>): T
  • Type parameters

    • T

    Parameters

    • values: T[]
    • Rest scoreFns: Array<function>

    Returns T