Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "sorted"

Index

Functions

Functions

sorted

  • sorted<T>(this: Sequence<T>, composeComparator?: undefined | function): Sequence<T>
  • Returns a new sequence with all elements sorted by the comparator specified by the given composeComparator function or in natural order if no arguments are given.

    Type parameters

    • T

    Parameters

    • this: Sequence<T>
    • Optional composeComparator: undefined | function

    Returns Sequence<T>