1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.renamenx = renamenx;
|
7 |
|
8 | var _index = require('./index');
|
9 |
|
10 | function renamenx(key, newKey) {
|
11 | if (this.data.has(newKey)) {
|
12 | return 0;
|
13 | }
|
14 |
|
15 | _index.rename.call(this, key, newKey);
|
16 |
|
17 | return 1;
|
18 | } |
\ | No newline at end of file |