function fbtEnum(
  value: FbtTableKey,
  range: {[enumKey: string]: string},
): FbtTableArg {
  if (__DEV__) {
    invariant(value in range, 'invalid value: %s', value);
  }
  return FbtTableAccessor.getEnumResult(value);
}
fbt._enum() takes an enum value and returns a tuple in the format:
[value, null]
@param value - Example: "id1"
@param range - Example: {"id1": "groups", "id2": "videos", ...}