Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISortField<T>

Instructions on how to sort a field of an object.

Type parameters

  • T

Hierarchy

  • ISortField

Index

Properties

Properties

Optional priority

priority: number

Priority of this field. Defaults to 0.

sort

sort can be either a function that compares two items (comparator), or can be a SortDirection enum, which sets the direction of a sort.

Generated using TypeDoc