Isn't `platformInfo && platformInfo.platform === platform` more easier to understand?