imbrn/v8n

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

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. 😊