josdejong / josdejong/mathjs

Define custom help objects

Open
#2,047 14 comments 1 reaction 0 assignees View on GitHub
feature help wanted
Dominant language
JavaScript
Stars
15.1k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

For example, if I import a function as follows:

```javascript
math.import({
area: function (x, y) {
return x*y
}
})
```

I would like to then define a help object for this new function so I can call `math.help("area")`. Is this possible?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.