Maps variant ids to their distinct cultures. Missing variant ids are skipped, so the result never contains undefined. The invariant culture is represented as null and is kept in the result; filter it out locally where it is not wanted.
undefined
null
The variant ids to map.
The distinct cultures, in order of first occurrence.
Maps variant ids to their distinct cultures. Missing variant ids are skipped, so the result never contains
undefined. The invariant culture is represented asnulland is kept in the result; filter it out locally where it is not wanted.