aswi2020vldc-gitlab/templetes/node_modules/es-abstract/2017/IsPropertyKey.js @ 4605a44b
1 |
'use strict'; |
---|---|
2 |
|
3 |
// https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
|
4 |
|
5 |
module.exports = function IsPropertyKey(argument) { |
6 |
return typeof argument === 'string' || typeof argument === 'symbol'; |
7 |
};
|