You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Parameters | Type |
| --- | --- | --- |
| name | String | the variable to delete |
Returns
Number
Config#deleteMultivar Sync
varresult=config.deleteMultivar(name,regexp);
| Parameters | Type |
| --- | --- | --- |
| name | String | the variable's name |
| regexp | String | a regular expression to indicate which values to delete |
Returns
Number
0 or an error code
Config#getBool Async
config.getBool(name).then(function(result){// Use result});
| Parameters | Type |
| --- | --- | --- |
| name | String | the variable's name |
Returns
Number
Config#getEntry Async
config.getEntry(name).then(function(configEntry){// Use configEntry});
| Parameters | Type |
| --- | --- | --- |
| name | String | the variable's name |
the resulting transaction, use this to commit or undo the
changes
Config#setBool Async
config.setBool(name,value).then(function(result){// Use result});
| Parameters | Type |
| --- | --- | --- |
| name | String | the variable's name |
| value | Number | the value to store |
Returns
Number
0 or an error code
Config#setInt32 Async
config.setInt32(name,value).then(function(result){// Use result});
| Parameters | Type |
| --- | --- | --- |
| name | String | the variable's name |
| value | Number | Integer value for the variable |
Returns
Number
0 or an error code
Config#setInt64 Async
config.setInt64(name,value).then(function(result){// Use result});
| Parameters | Type |
| --- | --- | --- |
| name | String | the variable's name |
| value | Number | Long integer value for the variable |
Returns
Number
0 or an error code
Config#setMultivar Async
config.setMultivar(name,regexp,value).then(function(result){// Use result});
| Parameters | Type |
| --- | --- | --- |
| name | String | the variable's name |
| regexp | String | a regular expression to indicate which values to replace |
| value | String | the new value. |
Returns
Number
Config#setString Async
config.setString(name,value).then(function(result){// Use result});
| Parameters | Type |
| --- | --- | --- |
| name | String | the variable's name |
| value | String | the string to store. |
Returns
Number
0 or an error code
Config#snapshot Async
config.snapshot().then(function(config){// Use config});