josdejong/mathjs

Define custom help objects

Open

#2.047 aberto em 1 de dez. de 2020

Ver no GitHub
 (14 comments) (1 reaction) (0 assignees)JavaScript (1.298 forks)batch import
featurehelp wanted

Métricas do repositório

Stars
 (13.832 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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?

Guia do colaborador