Sha256: 60dd53e11417dbab17b7768a390594f385e10068e88ff434c9e33ea9a0b2180d
Contents?: true
Size: 338 Bytes
Versions: 29
Compression:
Stored size: 338 Bytes
Contents
'use strict'; var value = require('./valid-value'); module.exports = function (obj/*, …names*/) { var length, current = 1; value(obj); length = arguments.length - 1; if (!length) return obj; while (current < length) { obj = obj[arguments[current++]]; if (obj == null) return undefined; } return obj[arguments[current]]; };
Version data entries
29 entries across 19 versions & 7 rubygems