[ Root System Explorer ]
Location:
Root
/
opt
/
alt
/
alt-nodejs20
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
ip-address
/
dist
+ Folder
+ File
Upload
Editing: common.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isCorrect = exports.isInSubnet = void 0; function isInSubnet(address) { if (this.subnetMask < address.subnetMask) { return false; } if (this.mask(address.subnetMask) === address.mask()) { return true; } return false; } exports.isInSubnet = isInSubnet; function isCorrect(defaultBits) { return function () { if (this.addressMinusSuffix !== this.correctForm()) { return false; } if (this.subnetMask === defaultBits && !this.parsedSubnet) { return true; } return this.parsedSubnet === String(this.subnetMask); }; } exports.isCorrect = isCorrect; //# sourceMappingURL=common.js.map
SAVE CHANGES
[ CANCEL ]
Name
Type
Actions
.. (Parent Directory)
📄 address-error.js
FILE
Ren
[EDIT]
DEL
📄 common.js
FILE
Ren
[EDIT]
DEL
📄 ip-address.js
FILE
Ren
[EDIT]
DEL
📄 ipv4.js
FILE
Ren
[EDIT]
DEL
📄 ipv6.js
FILE
Ren
[EDIT]
DEL
📁 v4/
DIR
Ren
DEL
📁 v6/
DIR
Ren
DEL