@barchart/common-js
Version:
Library of common JavaScript utilities
23 lines (22 loc) • 527 B
TypeScript
/**
* A {@link Specification} that passes when the value of the data item
* is between the values passed to the constructor.
*
* @public
* @extends {Specification}
*/
export default class Between extends Specification {
/**
* @param {number[]} values
*/
constructor(values: number[]);
/**
* @protected
* @override
* @param {*} data
* @returns {boolean}
*/
protected override _evaluate(data: any): boolean;
#private;
}
import Specification from './Specification.js';