import { isReferenceObject } from "./isReferenceObject";
import { resolveReference } from "./resolveReference";
export function resolveExample(example, document) {
    if (isReferenceObject(example)) {
        return resolveReference(example, document, undefined);
    }
    return example;
}
