Function Calling
73 words·1 min
| Module | Purpose | Representative Functions |
|---|---|---|
| Fs | File system operations | read, write, ls, dirs |
| String | String operations | split, join, replace, lower, upper |
| Regex | Regex operations | match, replace, search |
| List | List operations | first, last, map, filter |
| Map | Map operations | keys, values, merge |
| Math | Mathematical functions | sin, cos, sqrt, rand |
| Rand | Random number operations | int, float, choice, shuffle |
| Time | Date and time operations | now, parse, fmt, stamp |
| From | Data parsing operations | json, toml, script, cmd |
| Into | Data conversion operations | str, int, float, boolean, filesize, time, table, toml, json, csv |
| Sys | Environment variable operations | env, define, defined |
| Console | Console operations | color, table, prompt |
| Ui | UI components | pick, confirm, widget, joinx, joiny, join_flow |
| Log | Log operations | debug, info, warn, error, trace |
| Boolean | Boolean operations | and, or, not, xor |
| Filesize | File size operations | to_bytes, to_kb, to_mb, format |
| About | About information | version, build_info |
help to see all uasge.
type help libs/modules to list libs/modules.
type help <module-name> to list functions of the module.
type help tops to list functions of the top level.
type help <func-name> to see the detail of top functions.
type <module-name>.<func-name> to see the detail of the function.