UNPKG

@bitblit/ratchet-misc

Version:

Ratchet miscellaneous tooling that requires smallish dependant libraries

28 lines 683 B
import { exists } from '../runtime.js'; export function instanceOfManageIp(value) { let isInstance = true; return isInstance; } export function ManageIpFromJSON(json) { return ManageIpFromJSONTyped(json, false); } export function ManageIpFromJSONTyped(json, ignoreDiscriminator) { if (json === undefined || json === null) { return json; } return { ip: !exists(json, 'ip') ? undefined : json['ip'], }; } export function ManageIpToJSON(value) { if (value === undefined) { return undefined; } if (value === null) { return null; } return { ip: value.ip, }; } //# sourceMappingURL=ManageIp.js.map