MCPcopy Create free account
hub / github.com/2fd/graphdoc / argumentLength

Method argumentLength

plugins/document.schema/index.ts:106–109  ·  view source on GitHub ↗
(arg: InputValue)

Source from the content-addressed store, hash-verified

104 }
105
106 argumentLength(arg: InputValue): number {
107
108 return arg.name.length + 1 + html.useIdentifierLength(arg.type);
109 }
110
111 arguments(fieldOrDirectives: Field | Directive): string {
112

Callers 1

argumentsLengthMethod · 0.95

Calls 1

useIdentifierLengthMethod · 0.80

Tested by

no test coverage detected