Skip to content

FormCollection.sort

github-actions[bot] edited this page Dec 3, 2024 · 3 revisions

This method overrides ReadOnlyFormCollection.sort.

Reverses the items in the collections and returns the observable collection.

public sort(
  compareCallback?: (left: Exclude<TForm, undefined>, right: Exclude<TForm, undefined>) => number
): this

Source reference: src/forms/FormCollection.ts:115.

Parameters

Returns: this

The observable collection on which the operation is performed.

See also

Clone this wiki locally