Action
    Preparing search index...

    Class Comparison<T>

    A delegate which determines the order of two objects.

    Type Parameters

    • T = undefined
    Index

    Constructors

    Constructors

    • Constructor for comparisons.

      Type Parameters

      • T = undefined

      Parameters

      • argType: TypeRef<CsType<T>>

        The type of objects to compare.

      • callback: (o1: T, o2: T) => number | Int32

        A callback function which determines the order of two objects. This function must return a number which fits in a 32-bit unsigned integer.

      Returns Comparison<T>