"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useNativeSync = exports.useNative = void 0;
const version = process.env.__TESTING_RIMRAF_NODE_VERSION__ || process.version;
const versArr = version.replace(/^v/, '').split('.');
const hasNative = +versArr[0] > 14 || (+versArr[0] === 14 && +versArr[1] >= 14);
exports.useNative = !hasNative ? () => false : () => true;
exports.useNativeSync = !hasNative ? () => false : () => true;
//# sourceMappingURL=use-native.js.map