Sunday, July 23, 2023

Re: [vim9script] How to compare two objects for identity vs equality?

On 2023-07-23, Lifepillar <lifepillar@lifepillar.me> wrote:
> Fine, == is value-based equality. Is there a way to compare for
> identity, that is, so that o1 and o2 are considered two different
> instances?

Aaah, never mind, there are `is` and `isnot`. Time to find a cool place
to avoid brain melting, I guess...

Life.

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/u9jrjc%24ivt%241%40ciao.gmane.io.

No comments: