source: node_modules/@swagger-api/apidom-ns-json-schema-draft-4/cjs/refractor/predicates.cjs

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 392 bytes
Line 
1"use strict";
2
3exports.__esModule = true;
4exports.isJSONReferenceLikeElement = void 0;
5var _apidomCore = require("@swagger-api/apidom-core");
6// eslint-disable-next-line import/prefer-default-export
7const isJSONReferenceLikeElement = element => {
8 return (0, _apidomCore.isObjectElement)(element) && element.hasKey('$ref');
9};
10exports.isJSONReferenceLikeElement = isJSONReferenceLikeElement;
Note: See TracBrowser for help on using the repository browser.