All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.2022.IsNoTearConfiguration.js Maven / Gradle / Ivy

There is a newer version: 1.22.3
Show newest version
'use strict';

var IsUnclampedIntegerElementType = require('./IsUnclampedIntegerElementType');
var IsBigIntElementType = require('./IsBigIntElementType');

// https://262.ecma-international.org/11.0/#sec-isnotearconfiguration

module.exports = function IsNoTearConfiguration(type, order) {
	if (IsUnclampedIntegerElementType(type)) {
		return true;
	}
	if (IsBigIntElementType(type) && order !== 'Init' && order !== 'Unordered') {
		return true;
	}
	return false;
};




© 2015 - 2025 Weber Informatics LLC | Privacy Policy