export const isMappingMode = (str: string): str is MappingMode =>
  (MAPPING_MODES as readonly string[]).includes(str)