syntax-tree/unist-util-is

Add property tests / deep equals

wooorm opened this issue · 0 comments

...and drop node identity tests.

With the advent of HAST, passing {tagName: 'article'} would be a very useful addition. But, this interferes with node identity tests. As the latter is quite easily done inside the Function form of test, I believe dropping it is an OK and necessary choice.