v4.2.0
New features:
- Node improvements d5422c2
- feat(node): Add type check functions
- Eg.
isDocument
,isTag
. Useful for determining if a node matches a particular type.
- Eg.
- Make
cloneNode
return the passed type- Eg.
cloneNode
called with aText
node will now return aText
node.
- Eg.
- feat(node): Add type check functions