函数帮助 #

检索函数或数据类型的帮助。帮助文件从 math.docs 中的嵌入式文档中检索。

Syntax #

math.help(search)

Parameters #

Parameter Type Description
搜索 函数 | 字符串 | 对象 用于获取帮助的函数或函数名

Returns #

Type Description
帮助 一个帮助对象

Throws #

Type | Description —- | ———–

Examples #

console.log(math.help('sin').toString())
console.log(math.help(math.add).toString())
console.log(math.help(math.add).toJSON())
Fork me on GitHub