Ken Takata wrote:
> 2016/7/16 Sat 21:21:11 UTC+9 Bram Moolenaar wrote:
> > Ken Takata wrote:
> >
> > > The help of type() says:
> > >
> > > To avoid the magic numbers it should be used this way: >
> > > :if type(myvar) == type(0)
> > > :if type(myva
Hi Bram,
2016/7/16 Sat 21:21:11 UTC+9 Bram Moolenaar wrote:
> Ken Takata wrote:
>
> > The help of type() says:
> >
> > To avoid the magic numbers it should be used this way: >
> > :if type(myvar) == type(0)
> > :if type(myvar) == type("")
> >
Ken Takata wrote:
> The help of type() says:
>
> To avoid the magic numbers it should be used this way: >
> :if type(myvar) == type(0)
> :if type(myvar) == type("")
> :if type(myvar) == type(function("tr"))
>
Hi,
2016/7/16 Sat 12:06:54 UTC+9 Ken Takata wrote:
> Hi,
>
> The help of type() says:
>
> To avoid the magic numbers it should be used this way: >
> :if type(myvar) == type(0)
> :if type(myvar) == type("")
> :if type
Hi,
The help of type() says:
To avoid the magic numbers it should be used this way: >
:if type(myvar) == type(0)
:if type(myvar) == type("")
:if type(myvar) == type(function("tr"))
:if