Loading ...
Sorry, an error occurred while loading the content.
 

Re: [DOC PATCH] Document `is#' and `is?' operators

Expand Messages
  • Bram Moolenaar
    ... Thanks! I don t think supporting is# was completely intentional, but it works. -- hundred-and-one symptoms of being an internet addict: 102. When filling
    Message 1 of 2 , May 25, 2011
      ZyX wrote:

      > I recently discovered that alongside with `is' there exists `is#'
      > operator which is convenient for checking whether given variable is
      > equal to some string while
      > you don't know what is the type of this variable. I guess it should be
      > documented. Also added a tag for `isnot' and a note about possibility of
      > comparing variables with different types without errors and explicit type
      > checks.

      Thanks!

      I don't think supporting is# was completely intentional, but it works.

      --
      hundred-and-one symptoms of being an internet addict:
      102. When filling out your driver's license application, you give
      your IP address.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ an exciting new programming language -- http://www.Zimbu.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      --
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.