blinq
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Comparer
Builder
constructor
comparers
build
create
Comparer
sort
Key
sort
Key
Descending
then
Key
then
Key
Descending
create
Type parameters
T
Hierarchy
ComparerBuilder
Implements
BaseComparerBuilder
<
T
>
ThenComparerBuilder
<
T
>
Index
Constructors
constructor
Properties
comparers
Methods
build
create
Comparer
sort
Key
sort
Key
Descending
then
Key
then
Key
Descending
create
Constructors
constructor
new
Comparer
Builder
(
comparers
?:
Array
<
Comparer
<
T
>
>
|
undefined
)
:
ComparerBuilder
Parameters
Default value
comparers:
Array
<
Comparer
<
T
>
>
|
undefined
= undefined
Returns
ComparerBuilder
Properties
Private
comparers
comparers
:
Comparer
<
T
>
[]
Methods
build
build
(
)
:
Comparer
<
T
>
Returns
Comparer
<
T
>
Private
create
Comparer
create
Comparer<TComparable>
(
selector
:
function
, comparer
:
Comparer
<
TComparable
>
)
:
Comparer
<
T
>
Type parameters
TComparable
Parameters
selector:
function
(
x
:
T
)
:
TComparable
Parameters
x:
T
Returns
TComparable
comparer:
Comparer
<
TComparable
>
Returns
Comparer
<
T
>
sort
Key
sort
Key<TComparable>
(
selector
:
function
)
:
ThenComparerBuilder
<
T
>
Type parameters
TComparable
Parameters
selector:
function
(
x
:
T
)
:
TComparable
Parameters
x:
T
Returns
TComparable
Returns
ThenComparerBuilder
<
T
>
sort
Key
Descending
sort
Key
Descending<TComparable>
(
selector
:
function
)
:
ThenComparerBuilder
<
T
>
Type parameters
TComparable
Parameters
selector:
function
(
x
:
T
)
:
TComparable
Parameters
x:
T
Returns
TComparable
Returns
ThenComparerBuilder
<
T
>
then
Key
then
Key<TComparable>
(
selector
:
function
)
:
ThenComparerBuilder
<
T
>
Type parameters
TComparable
Parameters
selector:
function
(
x
:
T
)
:
TComparable
Parameters
x:
T
Returns
TComparable
Returns
ThenComparerBuilder
<
T
>
then
Key
Descending
then
Key
Descending<TComparable>
(
selector
:
function
)
:
ThenComparerBuilder
<
T
>
Type parameters
TComparable
Parameters
selector:
function
(
x
:
T
)
:
TComparable
Parameters
x:
T
Returns
TComparable
Returns
ThenComparerBuilder
<
T
>
Static
create
create<T>
(
)
:
ComparerBuilder
<
T
>
Type parameters
T
Returns
ComparerBuilder
<
T
>
Generated using
TypeDoc