@microsoft/fast-element > sortedCount
sortedCount() function
Enables observing the sorted property of an array.
Signature:
export declare function sortedCount<T>(array: readonly T[]): number;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
array |
readonly T[] |
The array to observe the sorted property of. |
Returns:
number
The sorted property.