function getData(
  gender: GenderConstEnum,
  usage: $Keys<GenderConfig>,
): boolean | string {
  return data[gender]
    ? data[gender][usage]
    : data[GENDER_CONST.NOT_A_PERSON][usage];
}
(c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.

@flow strict
@format
@oncall i18n_fbt_js