hasAny
Determine if any paths are properties of given object.
import { hasAny } from "@aedart/support/objects";
const target = {
a: 1234,
b: {
name: 'Sven',
c: {
age: 24
}
}
};
const paths = [
'z', // does not exist
'b.c.name', // does not exist
'b.c.age', // exist
];
let result = hasAny(target, paths);
console.log(result); // true