Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "Common/Common"

Index

Functions

Functions

QuickSelect

  • Type parameters

    • T

    Parameters

    • elements: T[]
    • kth: number

      0 based index of the element after the array is supposed to be sorted

    • Default value compareFunction: CompareFunctionType<any> = ascendingCompareFunction

      How comparison is done. By default this functions sort in ascending order

    Returns T

Generated using TypeDoc