# 4.2 谓语：字符串相关

查阅 序列数组 向量以及向量章节，查阅更多关于底层 通用序列 及 数组 谓语。

Function: stringp object\
&#x20; 如果 object 为字符串，则返回 t，否则返回 nil。

Function: string-or-null-p object\
&#x20; 如果 object 为字符串，或 nil，则返回 t，否则返回 nil。

Function: char-or-string-p object\
&#x20; 如果 object 为字符或字符串，则返回 t，否则返回 nil。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://emacs-lisp.ivory.cafe/zi-fu-chuan-he-zi-fu/wei-ci-zi-fu-chuan-xiang-guan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
