Skip to content
Function

desc

ts
desc(
	value: number | null | undefined,
): number;

Helper function for use in InputTrackQuery.sortBy, used to describe sorting tracks by a numeric property in descending order. null and undefined are accepted too and are last in the order (sorted to the end).

Released under the Mozilla Public License 2.0.