mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
16 lines
325 B
JavaScript
16 lines
325 B
JavaScript
module.exports = {
|
|
'name': 'import',
|
|
'category': 'Core',
|
|
'syntax': [
|
|
'import(functions)',
|
|
'import(functions, options)'
|
|
],
|
|
'description': 'Import functions or constants from an object.',
|
|
'examples': [
|
|
'import({myFn: f(x)=x^2, myConstant: 32 })',
|
|
'myFn(2)',
|
|
'myConstant'
|
|
],
|
|
'seealso': []
|
|
};
|