1.1.4 • Published 3 years ago

@octoguide/sorting-utils v1.1.4

Weekly downloads
1
License
UNLICENSED
Repository
-
Last release
3 years 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

3 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.0

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago