UNPKG

@allgemein/schema-api

Version:
24 lines 663 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.supportsJsonSchemaExport = supportsJsonSchemaExport; exports.supportsJsonSchemaImport = supportsJsonSchemaImport; exports.supportsJsonSchema = supportsJsonSchema; function supportsJsonSchemaExport(x) { if (x.toJsonSchema) { return true; } return false; } function supportsJsonSchemaImport(x) { if (x.fromJsonSchema) { return true; } return false; } function supportsJsonSchema(x) { if (supportsJsonSchemaExport(x) && supportsJsonSchemaImport(x)) { return true; } return false; } //# sourceMappingURL=IJsonSchema.js.map