MCPcopy
hub / github.com/refinedev/refine / accessorMultiple

Function accessorMultiple

packages/inferencer/src/utilities/accessor/index.ts:33–37  ·  view source on GitHub ↗
(variable: string, key?: string, accessor?: string[])

Source from the content-addressed store, hash-verified

31}
32
33function accessorMultiple(variable: string, key?: string, accessor?: string[]) {
34 const all = (accessor ?? []).map((a) => accessorSingle(variable, key, a));
35
36 return all;
37}
38
39/**
40 * Returns a string that can be used to access the given field.

Callers 1

accessorFunction · 0.85

Calls 1

accessorSingleFunction · 0.85

Tested by

no test coverage detected