We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faf14bd commit b7d0f61Copy full SHA for b7d0f61
src/helpers/dig.js
@@ -1,6 +1,7 @@
1
'use strict'
2
3
module.exports = (object, path) => {
4
+ if (object == null) return
5
const paths = path.split('.')
6
let result = object
7
for (let i = 0, len = paths.length; i < len; i++) {
0 commit comments