if (argsIndex >= args.length) {
      // We've reached the end of our arguments at a valid entry, in which case
      // table is now a string (leaf) or undefined (key doesn't exist)
      invariant(
        typeof table === 'string' || Array.isArray(table),
        'Expected leaf, but got: %s',
        JSON.stringify(table),
      );
      return table;
    }
Performs a depth-first search on our table, attempting to access
each table entry.  The first entry found is the one we want, as we
set defaults after preferred indices.  For example:

@param @table - {
  // viewer gender
  '*': {
    // {num} plural
    '*': {
      // user-defined enum
      LIKE: '{num} people liked your update',
      COMMENT: '{num} people commented on your update',
      POST: '{num} people posted on a wall',
    },
    SINGULAR: {
      LIKE: '{num} person liked your update',
      // ...
    },
    DUAL: { ... }
  },
  FEMALE: {
    // {num} plural
    '*': { ... },
    SINGULAR: { ... },
    DUAL: { ... }
  },
  MALE: { ... }
}

Notice that LIKE and COMMENT here both have 'your' in them, whereas
POST doesn't.  The fallback ('*') translation for POST will be the same
in both the male and female version, so that entry won't exist under
  table[FEMALE]['*'] or table[MALE]['*'].

Similarly, PLURAL is a number variation that never appears in the table as it
is the default/fallback.

For example, if we have a female viewer, and a PLURAL number and a POST enum
value, in the above example, we'll first attempt to get:
table[FEMALE][PLURAL][POST].  undefined. Back Up, attempting to get
table[FEMALE]['*'][POST].  undefined also. since it's the same as the '*'
table['*'][PLURAL][POST].  ALSO undefined. Deduped to '*'
table['*']['*'][POST].  There it is.

@param args      - fbt runtime arguments
@param argsIndex - argument index we're currently visiting
@param tokens    - inout param. Array will populate the keys used to access the table