@bitblit/ratchet-misc
Version:
Ratchet miscellaneous tooling that requires smallish dependant libraries
31 lines • 1.28 kB
JavaScript
import { exists } from '../runtime.js';
import { CustomFieldSingleSelectDropDownContentSelectedOptionsFromJSON, CustomFieldSingleSelectDropDownContentSelectedOptionsToJSON, } from './CustomFieldSingleSelectDropDownContentSelectedOptions.js';
export function instanceOfCustomFieldSingleSelectDropDownContent(value) {
let isInstance = true;
return isInstance;
}
export function CustomFieldSingleSelectDropDownContentFromJSON(json) {
return CustomFieldSingleSelectDropDownContentFromJSONTyped(json, false);
}
export function CustomFieldSingleSelectDropDownContentFromJSONTyped(json, ignoreDiscriminator) {
if (json === undefined || json === null) {
return json;
}
return {
selectedOptions: !exists(json, 'selectedOptions')
? undefined
: CustomFieldSingleSelectDropDownContentSelectedOptionsFromJSON(json['selectedOptions']),
};
}
export function CustomFieldSingleSelectDropDownContentToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
selectedOptions: CustomFieldSingleSelectDropDownContentSelectedOptionsToJSON(value.selectedOptions),
};
}
//# sourceMappingURL=CustomFieldSingleSelectDropDownContent.js.map