1.1.4 • Published 1 year ago

@octoguide/sorting-utils v1.1.4

Weekly downloads
1
License
UNLICENSED
Repository
-
Last release
1 year ago

Constants

sortByName ⇒ Array

sort the objects by the name field

Kind: global constant
Returns: Array - of objects sorted by name

ParamTypeDescription
sourceArraythe source array..

sortByDate ⇒ Array

sort the objects by the field specified that needs to be a date type

Kind: global constant
Returns: Array - of objects sorted by date

ParamTypeDescription
sourceArraythe source array..
sortFieldArraythe date field

sortByField ⇒ Array

sort the objects by the field specified

Kind: global constant
Returns: Array - of objects sorted by date

ParamTypeDescription
sourceArraythe source array..
sortFieldArraythe field to sort by
1.1.4

1 year ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago