Configuration system for the math-js library Central storage and management of all configurable settings and limits
Members
(inner, constant) defaultConfig :Object
Default configuration for the library Contains all settings and their default values
Type:
- Object
Methods
(inner) configure(options) → {Object}
Update configuration with custom settings
Parameters:
Name | Type | Description |
---|---|---|
options | Object | Configuration options to update |
Returns:
The updated configuration object
- Type:
- Object
(inner) getConfig() → {Object}
Get the current configuration
Returns:
The current configuration (read-only)
- Type:
- Object
(inner) resetConfig() → {Object}
Reset configuration to default values
Returns:
The reset configuration object
- Type:
- Object