Opal-Estate-Pro/node_modules/core-js/library/modules/es6.object.is-frozen.js

9 lines
243 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
// 19.1.2.12 Object.isFrozen(O)
var isObject = require('./_is-object');
require('./_object-sap')('isFrozen', function ($isFrozen) {
return function isFrozen(it) {
return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;
};
});