For now I'm using
export def IsInstanceOf(o: any, type: string): bool
return type(o) == v:t_object && type == typename(o)[7 : -2]
enddef
Is there something better? A planned builtin?
I don't actually need it yet, but I'm just getting started and I know
how I am.
-ernie
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/3666246c-4a4d-7d5c-67a9-af4fcf8cefb1%40raelity.com.