@bitblit/ratchet-misc
Version:
Ratchet miscellaneous tooling that requires smallish dependant libraries
28 lines • 739 B
JavaScript
import { exists } from '../runtime.js';
export function instanceOfAddChildDomain(value) {
let isInstance = true;
return isInstance;
}
export function AddChildDomainFromJSON(json) {
return AddChildDomainFromJSONTyped(json, false);
}
export function AddChildDomainFromJSONTyped(json, ignoreDiscriminator) {
if (json === undefined || json === null) {
return json;
}
return {
domain: !exists(json, 'domain') ? undefined : json['domain'],
};
}
export function AddChildDomainToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
domain: value.domain,
};
}
//# sourceMappingURL=AddChildDomain.js.map