import { isNonNullish } from "@fern-api/ui-core-utils";
export function isReferenceObject(input) {
    return (typeof input === "object" &&
        isNonNullish(input) &&
        "$ref" in input &&
        typeof input.$ref === "string");
}
