Represents an ordered sort condition, which can sort data in either an ascending or descending manner.

See

[[SortSettings`1.sortConditions]]

Hierarchy

Hierarchy (view full)

Constructors

Properties

$type: Type
$t: Type
nextHashCode: number

Accessors

  • get sortDirection(): SortDirection
  • Gets the value which indicates the sort direction represented by the sort condition. Either SortDirection.Ascending or SortDirection.Descending.

    Returns SortDirection

Methods

  • Determines whether the [[SortCondition]] is equal to the specified object.

    Parameters

    • obj: any

      The object to test for equality.

    Returns boolean

  • Gets the hash code for the [[SortCondition]].

    Returns number

  • Returns Base

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns number

  • Parameters

    • item1: any
    • item2: any

    Returns boolean

  • Parameters

    • a: any
    • b: any

    Returns boolean

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns any[]

  • Parameters

    • obj: any

    Returns number

  • Parameters

    • a: any
    • b: any

    Returns boolean