MCPcopy Create free account
hub / github.com/openai/plugins / isNode

Function isNode

plugins/shopify/skills/shopify-admin/scripts/validate.mjs:572–575  ·  view source on GitHub ↗
(maybeNode)

Source from the content-addressed store, hash-verified

570 exports.QueryDocumentKeys = QueryDocumentKeys;
571 var kindValues = new Set(Object.keys(QueryDocumentKeys));
572 function isNode(maybeNode) {
573 const maybeKind = maybeNode === null || maybeNode === void 0 ? void 0 : maybeNode.kind;
574 return typeof maybeKind === "string" && kindValues.has(maybeKind);
575 }
576 var OperationTypeNode;
577 exports.OperationTypeNode = OperationTypeNode;
578 (function(OperationTypeNode2) {

Callers

nothing calls this directly

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected