MCPcopy
hub / github.com/ardatan/graphql-tools / getArgs

Function getArgs

packages/executor/src/execution/__tests__/lists-test.ts:43–45  ·  view source on GitHub ↗
(..._args: ReadonlyArray<string>)

Source from the content-addressed store, hash-verified

41
42 it('Accepts function arguments as a List value', () => {
43 function getArgs(..._args: ReadonlyArray<string>) {
44 return arguments;
45 }
46 const listField = getArgs('one', 'two');
47
48 expect(complete({ listField })).toEqual({

Callers 1

lists-test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…