source:
node_modules/@swagger-api/apidom-ast/es/json/nodes/JsonObject.mjs
Last change on this file was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 246 bytes |
Rev | Line | |
---|---|---|
[d24f17c] | 1 | import JsonNode from "./JsonNode.mjs"; |
2 | import { isProperty } from "./predicates.mjs"; | |
3 | class JsonObject extends JsonNode { | |
4 | static type = 'object'; | |
5 | get properties() { | |
6 | return this.children.filter(isProperty); | |
7 | } | |
8 | } | |
9 | export default JsonObject; |
Note:
See TracBrowser
for help on using the repository browser.