export function getTargetById()

in src/utils/platforms/index.ts [5:9]


export function getTargetById(id?: string | null) {
  const key = id && id.toUpperCase().replace(/-/g, '_');

  return isKeyOfObject(key, TargetPlatforms) ? TargetPlatforms[key] : null;
}