src/modular/bin/basemgr/intl_property_provider_impl/intl_property_provider_impl.cc
std::optional<fuchsia::setui::IntlSettings> IntlSettingsFrom(
    const fuchsia::setui::SettingsObject& setting) {
  if (!setting.data.is_intl()) {
    return std::nullopt;
  }
  return setting.data.intl();
}
// Safely extracts intl settings from a union.
Safely extracts intl settings from a union.
Safely extracts intl settings from a union .
std::optional<fuchsia::setui::IntlSettings> IntlSettingsFrom(
    const fuchsia::setui::SettingsObject& setting) {
  if (!setting.data.is_intl()) {
    return std::nullopt;
  }
  return setting.data.intl();
}
std :: optional < fuchsia :: setui :: IntlSettings > IntlSettingsFrom ( const fuchsia :: setui :: SettingsObject & setting ) { if ( ! setting . data . is_intl ( ) ) { return std :: nullopt ; } return setting . data . intl ( ) ; }
Safely extracts intl settings from a union.
Safely extracts intl settings from a union .