Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The JSMA namespaces provides the following methods:

namespace[] namespaces.find(term, [options={}])

...

Warning

The function signature namespaces.find(term, [limit]) is deprecated and will produce a warning in log files.


Returns the JSMA namespace(s) that match the given term

...

Code Block
languagejs
linenumberstrue
... 
namespaces.find(term, {limit : 10})

namespaces.find(term, [limit]) // deprecated
...

Parameter term (required)

Parameter options:object (optional)

...

If no value for limit is provided, the default value of 10 will be used.

namespace namespaces.findById(id)

...