appium-webdriveragent
Version:
Package bundling WebDriverAgent
13 lines • 457 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isTvOS = isTvOS;
const constants_1 = require("../constants");
/**
* Return true if the platformName is tvOS
* @param platformName The name of the platform
* @returns Return true if the platformName is tvOS
*/
function isTvOS(platformName) {
return platformName?.toLowerCase() === constants_1.PLATFORM_NAME_TVOS.toLowerCase();
}
//# sourceMappingURL=platform.js.map