batavia icon indicating copy to clipboard operation
batavia copied to clipboard

Use isbataviainstance where check classes are needed.

Open ramiroluz opened this issue 8 years ago • 1 comments

Rename the function to isbataviainstance.

https://github.com/pybee/batavia/blob/master/batavia/utils.js#L48

Example of use: https://github.com/ramiroluz/batavia/blob/8708f51d7b183d632c5465a26481675d5d52c7a4/batavia/types/Bool.js#L301

I can do that, just let me know if you don't think it is a good idea.

ramiroluz avatar Oct 21 '16 19:10 ramiroluz

Yes - this looks like a really good idea. If #335 is any indication, this will clean up the code significantly.

freakboy3742 avatar Oct 22 '16 23:10 freakboy3742