src/matchSelector.js
function getPathValue(node, path) {
	let names = path.split("."), name;

	while ( name = names.shift() ) {
		if (node == null) {
			return names.length ? void 0 : null;
		}
		node = node[name];
	}

	return node;
}
function getPathValue(node, path) {
	let names = path.split("."), name;

	while ( name = names.shift() ) {
		if (node == null) {
			return names.length ? void 0 : null;
		}
		node = node[name];
	}

	return node;
}
function getPathValue ( node , path ) { let names = path . split ( "." ) , name ; while ( name = names . shift ( ) ) { if ( node == null ) { return names . length ? void 0 : null ; } node = node [ name ] ; } return node ; }
Get the value of a property which may be multiple levels down in the object.
Get the value of a property which may be multiple levels down in the object .