RandBox 模块导览(10/12):thing - 实体对象
实体模块提供轻量对象片段,如动物。更多函数参见 /zh/docs/index
与 /zh/docs/thing/
。
模块概览
animal
等基础实体生成。
示例
import RandBox from 'randbox'
const rb = new RandBox()
const pet = rb.animal?.()
文档与链接
- 中文索引:
/zh/docs/index
- 模块索引:
/zh/docs/thing/
- 条目示例:
/zh/docs/thing/animal
Q&A 常见问题(FAQ)
- 是否可指定动物类别?
- 视实现支持,可通过选项限定分类或集合来源。
参考与出处(References)
- RandBox 中文文档索引:
/zh/docs/index
- Thing 模块文档:
/zh/docs/thing/index.mdx
- 相关 API 页:
/zh/docs/thing/animal
最后更新于: