josdejong/mathjs

Define custom help objects

Open

#2 047 ouverte le 1 déc. 2020

Voir sur GitHub
 (14 commentaires) (1 réaction) (0 assignés)JavaScript (1 298 forks)batch import
featurehelp wanted

Métriques du dépôt

Stars
 (13 832 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

For example, if I import a function as follows:

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?

Guide contributeur