Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebReflection/neverland
/ getValue
Function
getValue
index.js:349–351 ·
view source on GitHub ↗
(value, f)
Source
from the content-addressed store, hash-verified
347
};
348
349
var
getValue =
function
getValue(value, f) {
350
return
typeof f ==
'function'
? f(value) : f;
351
};
352
353
var
useReducer =
function
useReducer(reducer, value, init, options) {
354
var
i = state.i++;
Callers
1
useReducer
Function · 0.85
Calls
1
f
Function · 0.85
Tested by
no test coverage detected