Files
playbook/docs/tsl/reference/catalog/base.md
T
cshandClaude Opus 4.6 565071c11f 🎨 style(md): lint and format all Markdown files
- Update .markdownlint.json: disable MD024 (duplicate headings) and MD025 (multiple h1)
  - MD024: test cases intentionally use duplicate headings for test IDs
  - MD025: function catalog files use multiple h1 for different function groups
- Fix MD040: add language identifiers to fenced code blocks in test/agent/README.md
- Fix MD031: add blank lines around fenced code blocks
- Run prettier to format all Markdown files consistently
- Fix table alignment and spacing issues

All markdownlint errors are now resolved.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-21 17:37:29 +08:00

4.7 KiB

基础函数

文档类型:函数事实路由页 是否可直接用于生成代码:是;进入分类详情页后按函数事实条目生成调用 遇到不确定时:回到 ../index.md../../syntax/index.md

这一页是基础函数的轻量入口,不直接承载全部函数事实。生成函数调用时,先按分类目录进入详情页,再只读取命中的函数条目和参数表。

模块范围

  • 说明:字符串、数组、日期时间、类型转换与常用基础能力
  • 函数事实数:369

智能体检索规则

  1. 用户只描述能力时,先按“分类目录”选择候选详情页。
  2. 用户给出函数名时,优先在 base/ 子目录中搜索三级函数标题。
  3. 只读取命中的函数条目、相邻分类标题和必要参数表;不要把同页其它函数混进当前调用。
  4. 没有命中函数事实条目时,不要发明函数名;回到 ../index.md 或项目实际代码确认。

分类目录

分类 详情页 函数事实数
常用日期时间函数 base/01_common_datetime.md 32
字符串数组与重复函数 base/17_string_array_and_repeat.md 3
普通日期函数 base/02_date_basic.md 19
分解函数 base/03_datetime_parts.md 9
起始结束函数 base/04_datetime_boundaries.md 16
关系函数 base/05_datetime_relations.md 28
范围判定函数 base/06_range_predicates.md 8
范围获得函数 base/07_range_getters.md 8
范围生成函数 base/08_range_span.md 8
时间推移函数 base/09_time_shift.md 8
组合、分解日期函数 base/10_compose_decompose_datetime.md 11
日期重组函数 base/11_datetime_recode.md 21
日期格式的转换 base/12_datetime_format_conversion.md 10
宽字节日期格式转换函数 base/13_wide_datetime_conversion.md 6
数组排序与重构 base/25_array_sort_and_operations.md 4
常用字符串函数 base/14_string_common.md 69
判定函数 base/15_string_predicates.md 8
替换以及处理函数 base/16_string_replace_process.md 8
字节函数 base/18_byte.md 8
发音相关函数 base/19_phonetic.md 10
正则表达式函数 base/20_regex.md 3
多语言支持函数 base/21_multilanguage.md 33
文件名以及目录名相关处理函数 base/22_path_filename.md 18
基本 base/23_array_basic.md 4
数组下标以及长度相关函数 base/24_array_index_length.md 7
增删改查 base/26_array_crud.md 6