nativescript
Version:
Command-line interface for building NativeScript projects
23 lines • 786 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.DevicePlatformsConstants = void 0;
const yok_1 = require("../yok");
class DevicePlatformsConstants {
constructor() {
this.iOS = "iOS";
this.Android = "Android";
this.visionOS = "visionOS";
}
isiOS(value) {
return value.toLowerCase() === this.iOS.toLowerCase();
}
isAndroid(value) {
return value.toLowerCase() === this.Android.toLowerCase();
}
isvisionOS(value) {
return value.toLowerCase() === this.visionOS.toLowerCase();
}
}
exports.DevicePlatformsConstants = DevicePlatformsConstants;
yok_1.injector.register("devicePlatformsConstants", DevicePlatformsConstants);
//# sourceMappingURL=device-platforms-constants.js.map
;