@bitblit/ratchet-misc
Version:
Ratchet miscellaneous tooling that requires smallish dependant libraries
31 lines • 1.27 kB
JavaScript
import { exists } from '../runtime.js';
import { CustomFieldMultiSelectDropDownContentSelectedOptionsFromJSON, CustomFieldMultiSelectDropDownContentSelectedOptionsToJSON, } from './CustomFieldMultiSelectDropDownContentSelectedOptions.js';
export function instanceOfCustomFieldMultiSelectDropDownContent(value) {
let isInstance = true;
return isInstance;
}
export function CustomFieldMultiSelectDropDownContentFromJSON(json) {
return CustomFieldMultiSelectDropDownContentFromJSONTyped(json, false);
}
export function CustomFieldMultiSelectDropDownContentFromJSONTyped(json, ignoreDiscriminator) {
if (json === undefined || json === null) {
return json;
}
return {
selectedOptions: !exists(json, 'selectedOptions')
? undefined
: CustomFieldMultiSelectDropDownContentSelectedOptionsFromJSON(json['selectedOptions']),
};
}
export function CustomFieldMultiSelectDropDownContentToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
selectedOptions: CustomFieldMultiSelectDropDownContentSelectedOptionsToJSON(value.selectedOptions),
};
}
//# sourceMappingURL=CustomFieldMultiSelectDropDownContent.js.map