bySort
Returns an Array of wallpapers by the given sort type.
Parameters
PARAMETER
TYPE
OPTIONAL
DESCRIPTION
Returns
Promise<Array<Wallpaper> | null>
Example Code
<getWallpapers>.bySort('newest').then(x => console.log(x));
// OR
<getWallpapers>.bySort('rating', {
page: 10,
operator: 'min',
type: 'phone',
ratio: [0.75, 1]
}).then(x => console.log(x));
Last updated