4.2 字符串判断函数

关于通用序列与数组判断函数的更多信息,参见《序列、数组与向量》和《数组》。

Function: stringp object

如果 object 是字符串,该函数返回 t,否则返回 nil

Function: string-or-null-p object

如果 object 是字符串或 nil,该函数返回 t,否则返回 nil

Function: char-or-string-p object

如果 object 是字符串或字符(即整数),该函数返回 t,否则返回 nil

emacs

Emacs

org-mode

Orgmode

Donations

打赏

Copyright

© 2025 Jasper Hsu

Creative Commons

Creative Commons

Attribute

Attribute

Noncommercial

Noncommercial

Share Alike

Share Alike