(ofRule: Rule | string, separator?: string | Rule)
| 18 | |
| 19 | // A list of another rule. |
| 20 | export function list(ofRule: Rule | string, separator?: string | Rule): Rule { |
| 21 | return { ofRule, isList: true, separator }; |
| 22 | } |
| 23 | |
| 24 | // A constraint described as `but not` in the GraphQL spec. |
| 25 | export function butNot(rule: Rule, exclusions: Array<Rule>) { |
no outgoing calls
no test coverage detected