MCPcopy Index your code
hub / github.com/tinyplex/tinybase / argsOrGetArgs

Function argsOrGetArgs

docs/pseudo.esm.sh/tinybase@9.0.0/ui-react/index.js:406–406  ·  view source on GitHub ↗
(args, store, parameter)

Source from the content-addressed store, hash-verified

404 ...args
405);
406var argsOrGetArgs = (args, store, parameter) => arrayMap(args, (arg) => isFunction(arg) ? arg(parameter, store) : arg);
407var nonFunctionDeps = (args) => arrayFilter(args, (arg) => !isFunction(arg));
408var useDel = (storeOrStoreId, deletable, then = getUndefined, thenDeps = EMPTY_ARRAY, ...args) => {
409 const store = useStoreOrStoreById(storeOrStoreId);

Callers 2

useSetCallbackFunction · 0.70
useDelFunction · 0.70

Calls 2

arrayMapFunction · 0.70
isFunctionFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…