Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

defaultCompare

  • defaultCompare(valA: any, valB: any, sortOrderModifier?: -1 | 1): number

sortEntityInstances

  • sortEntityInstances<T>(items: SerializedEntity<T>[], sort: string | undefined): SerializedEntity<T>[]
  • Performs client-side sorting of entities, mimicking the way sorting is performed by REST API

    Type parameters

    • T

    Parameters

    • items: SerializedEntity<T>[]

      entity instances array

    • sort: string | undefined

      REST API parameter representing sort field and order

    Returns SerializedEntity<T>[]

Generated using TypeDoc