[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Canonical way of marking a buf local var to be safe if nil/t?
From: |
Kaushal Modi |
Subject: |
Re: Canonical way of marking a buf local var to be safe if nil/t? |
Date: |
Thu, 12 May 2016 17:41:21 +0000 |
On Thu, May 12, 2016 at 1:39 PM John Mastro <john.b.mastro@gmail.com> wrote:
> Use `booleanp':
>
> booleanp is a compiled Lisp function in ‘subr.el’.
>
> (booleanp OBJECT)
>
> Return t if OBJECT is one of the two canonical boolean values: t or nil.
> Otherwise, return nil.
>
Thanks! I had a gut feeling that something basic like this had to be
already covered :)
--
--
Kaushal Modi