Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kilo-Org/cloud
/ nonEmpty
Function
nonEmpty
apps/web/src/components/usage-analytics/hooks.ts:139–139 ·
view source on GitHub ↗
(arr: string[])
Source
from the content-addressed store, hash-verified
137
};
138
139
function
pickFiltersInput(filters: UsageFilters) {
140
const
nonEmpty = (arr: string[]) => (arr.length > 0 ? arr : undefined);
141
return
{
142
features: nonEmpty(filters.features),
Callers
1
pickFiltersInput
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected