Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Openpanel-dev/openpanel
/ cohortMembersToCSV
Function
cohortMembersToCSV
apps/start/src/utils/csv-download.ts:26–29 ·
view source on GitHub ↗
(profileIds: string[])
Source
from the content-addressed store, hash-verified
24
}
25
26
export
function
cohortMembersToCSV(profileIds: string[]): string {
27
if
(!profileIds.length)
return
''
;
28
return
buildCSV([[
'profile_id'
], ...profileIds.map((id) => [id])]);
29
}
Callers
2
handleDownload
Function · 0.90
handleDownload
Function · 0.90
Calls
2
buildCSV
Function · 0.85
map
Method · 0.45
Tested by
no test coverage detected