UNPKG

json-schema-describes-subset

Version:

Tools for static JSON schema analysis, including functions to determine if one schema describes a subset of another or if a schema describes the empty set or to convert a schema to its disjunctive normal form (DNF).

4 lines 173 B
export function mapTuple(tuple, callbackFunction) { return tuple.map((value, index) => callbackFunction(value, index, tuple)); } //# sourceMappingURL=type-helpers.js.map