Skip to Content
🎲 欢迎使用 RandBox - 功能强大的 JavaScript 随机数据生成库! 了解详情
博客RandBox 模块导览(10/12):thing - 实体对象

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
最后更新于: