persona-community-5/.pnpm-store/v3/files/da/1a78ab51baecc311d5d845a73ffaedc93deb14c95c5f5b1d876e45e3300176062aeb2d693084e24f0f37342be28e67321e0ef44778d023e955ade5d7ab7755
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

8 lines
207 B
Plaintext

export default function dlv(obj, key, def, p, undef) {
key = key.split ? key.split('.') : key;
for (p = 0; p < key.length; p++) {
obj = obj ? obj[key[p]] : undef;
}
return obj === undef ? def : obj;
}