Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blacksmithgu/datacore
/ map
Method
map
src/api/data-array.ts:221–223 ·
view source on GitHub ↗
(f: ArrayFunc<T, U>)
Source
from the content-addressed store, hash-verified
219
}
220
221
public map<U>(f: ArrayFunc<T, U>): DataArray<U> {
222
return
this.lwrap(this.values.map(f));
223
}
224
225
public flatMap<U>(f: ArrayFunc<T, U[]>): DataArray<U> {
226
let
result = [];
Callers
3
join
Method · 0.95
groupIn
Method · 0.95
distinct
Method · 0.95
Calls
2
lwrap
Method · 0.95
map
Method · 0.65
Tested by
no test coverage detected