description:'The sum of values, or NaN if applicable',
type:'number'
}
},
merge:{
meta:'function',
description:'Merges current object with other time series rolling argument into a single object by aligning their timestamped values. Supports optional configurable settings.',
args:[
{
name:'other',
description:"A time series rolling argument to be merged with the current object.",
type:"object",
optional: true
},
{
name:"settings",
description:"Optional settings controlling the merging process. Supported keys: 'ignoreNaN' (boolean, equals true by default) to determine whether NaN values should be ignored; 'timeWindow' (object, empty by default) to apply time window filtering.",
type:"object",
optional: true
}
],
return:{
description:'A new object containing merged timestamped values from all provided arguments, aligned based on timestamps and filtered according to settings.',
description:'Merges current object with other time series rolling arguments into a single object by aligning their timestamped values. Supports optional configurable settings.',
args:[
{
name:'others',
description:"A list of time series rolling arguments to be merged with the current object.",
type:"object[]",
optional: true
},
{
name:"settings",
description:"Optional settings controlling the merging process. Supported keys: 'ignoreNaN' (boolean, equals true by default) to determine whether NaN values should be ignored; 'timeWindow' (object, empty by default) to apply time window filtering.",
type:"object",
optional: true
}
],
return:{
description:'A new object containing merged timestamped values from all provided arguments, aligned based on timestamps and filtered according to settings.',