function translateColor(color, options = {}) {
  let int32Color = baseColor(color);
  if (int32Color === null) {
    throw new Error(`Bad color value: ${color}`);
  }
  int32Color = (int32Color << 24 | int32Color >>> 8) >>> 0;
  if (options && options.platform === 'android') {
    int32Color |= 0;
  }
  return int32Color;
}
/**
 * Translate the color to make sure native understood.
 */
Translate the color to make sure native understood.
Translate the color to make sure native understood .
function translateColor(color, options = {}) {
  let int32Color = baseColor(color);
  if (int32Color === null) {
    throw new Error(`Bad color value: ${color}`);
  }
  int32Color = (int32Color << 24 | int32Color >>> 8) >>> 0;
  if (options && options.platform === 'android') {
    int32Color |= 0;
  }
  return int32Color;
}
function translateColor ( color , options = { } ) { let int32Color = baseColor ( color ) ; if ( int32Color === null ) { throw new Error ( ` ${ color } ` ) ; } int32Color = ( int32Color << 24 | int32Color >>> 8 ) >>> 0 ; if ( options && options . platform === 'android' ) { int32Color |= 0 ; } return int32Color ; }
Translate the color to make sure native understood.
Translate the color to make sure native understood .