Function: groupPresetsByAuthor()
groupPresetsByAuthor(
presets,isBuiltIn,userHandle,names?):PresetGroup[]
Defined in: src/lib/brushes/authors/index.ts:85
Group presets by author, in their order within each group: the user's own first, then the presets that come with the app (under the built-in heading), then other authors alphabetically.
Parameters
presets
isBuiltIn
(id) => boolean
whether a preset comes with the app
userHandle
string
names?
AuthorNames = {}