UNPKG

@bitblit/ratchet-misc

Version:

Ratchet miscellaneous tooling that requires smallish dependant libraries

30 lines 866 B
import { exists } from '../runtime.js'; export function instanceOfRemoveContactFromList(value) { let isInstance = true; return isInstance; } export function RemoveContactFromListFromJSON(json) { return RemoveContactFromListFromJSONTyped(json, false); } export function RemoveContactFromListFromJSONTyped(json, ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { emails: !exists(json, 'emails') ? undefined : json['emails'], all: !exists(json, 'all') ? undefined : json['all'], }; } export function RemoveContactFromListToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { emails: value.emails, all: value.all, }; } //# sourceMappingURL=RemoveContactFromList.js.map