Loading...
Loading...
Compare original and translation side by side
/es-toolkit:migrate/es-toolkit:migrateundefinedundefined
List subdirectories under `src/` (excluding `_internal` and `compat`) to discover the current categories dynamically. You can also browse `docs/reference/` to discover the full function index — each subdirectory is a category, and each `.md` file is a function.
Read the implementation file to get the exact signature, and the spec file for real usage examples.
动态查看`src/`下的子目录(排除`_internal`和`compat`)以了解当前的分类。你也可以浏览`docs/reference/`来查看完整的函数索引——每个子目录对应一个分类,每个`.md`文件对应一个函数。
阅读实现文件以获取确切的签名,查看测试文件以获取实际使用示例。https://es-toolkit.dev/reference/{category}/{functionName}https://es-toolkit.dev/reference/{category}/{functionName}Glob docs/reference/{category}/*.mdGrepdocs/reference/**/*.mdGlob docs/reference/{category}/*.mdGrepdocs/reference/**/*.mdimport { fn } from 'es-toolkit';https://es-toolkit.dev/reference/{category}/{fn}| Function | Input type | Behavior | Performance | Return type |
|---|---|---|---|---|
| (each candidate) | ... | ... | ... | ... |
groupBycountBykeyBy/es-toolkit:migrateimport { fn } from 'es-toolkit';https://es-toolkit.dev/reference/{category}/{fn}| 函数名称 | 输入类型 | 行为 | 性能 | 返回类型 |
|---|---|---|---|---|
| (每个候选函数) | ... | ... | ... | ... |
groupBycountBykeyBy/es-toolkit:migrate