企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
\<evalcmd\> IsPunct && bool && **True** 如果 *string* 只包含标点符号。 && string && string && 要测试的字符串。 \</evalcmd\> 如果 *string* 全部由标点字符组成,则返回 **True**,否则返回 **False**。 //<Example://> Output(IsPunct("!.,;:")) --> true Output(IsPunct("!.,j:")) --> false *另请参阅:* [isalpha](isalpha.zh.md) [isdigit](isdigit.zh.md) [islower](islower.zh.md) [isspace](isspace.zh.md) [isupper](isupper.zh.md)