Function: filterAndSortPosts()
Source: 1.0.0-rc.14 · a572916b42ec
ts
function filterAndSortPosts(
pages,
siteConfig,
params?
): Post[];Defined in: packages/valaxy/client/composables/post/index.ts:61
Pure function to filter and sort posts from page list Can be used in both composables and stores without inject() issues
Parameters
pages
Post[]
siteConfig
params?
type?
string
Returns
Post[]