Add `instanceOf` rule
imbrn opened this issue · 2 comments
imbrn commented
This rule should reflect the usage of the instanceof
operator:
const date = new Date();
v8n().instanceOf(Date).test(date); // true
tomraithel commented
Hey @imbrn - Thanks for that great lib. I will see what I can do about this feature!
imbrn commented
Thank you @tomraithel for your contribution. 😊