@bitblit/ratchet-misc
Version:
Ratchet miscellaneous tooling that requires smallish dependant libraries
28 lines • 734 B
JavaScript
export function instanceOfGetBlockedDomains(value) {
let isInstance = true;
isInstance = isInstance && 'domains' in value;
return isInstance;
}
export function GetBlockedDomainsFromJSON(json) {
return GetBlockedDomainsFromJSONTyped(json, false);
}
export function GetBlockedDomainsFromJSONTyped(json, ignoreDiscriminator) {
if (json === undefined || json === null) {
return json;
}
return {
domains: json['domains'],
};
}
export function GetBlockedDomainsToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
domains: value.domains,
};
}
//# sourceMappingURL=GetBlockedDomains.js.map