AdminLTE/plugins/filterizr/utils/sortBy.d.ts
REJack e3888aee85
created new gallery page
- added filterizr to plugins
- created gallery demo
2019-08-28 11:42:16 +02:00

8 lines
292 B
TypeScript
Executable file

/**
* Simple non-mutating sorting function for arrays of objects by a property
* @param {Array} array to sort
* @param {Function} propFn fetches the property by which to sort
* @return {Array} a new sorted array
*/
export declare const sortBy: (array: any[], propFn: Function) => any[];