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
cloneNodereturn the passed type- Eg.
cloneNodecalled with aTextnode will now return aTextnode.
- Eg.
- feat(node): Add type check functions