add TraversalPath#equals

This commit is contained in:
Sebastian McKenzie 2015-05-13 03:13:27 +01:00
parent 58f1e6cbc6
commit 1aa0bbfac9

View File

@ -922,6 +922,14 @@ export default class TraversalPath {
return !this.has(key);
}
/**
* Description
*/
equals(key, value): boolean {
return this.node[key] === value;
}
/**
* Description
*/