{"size": 208, "ext": "js", "max_stars_repo_path": "src/geometry/Input.js", "max_stars_repo_name": "dp50mm/hyperobjects-language", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/geometry/Input.js", "max_issues_repo_name": "dp50mm/hyperobjects-language", "max_issues_repo_issues_event_min_datetime": "2022-02-27T11:48:04.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T11:48:04.000Z", "max_forks_repo_path": "src/geometry/Input.js", "max_forks_repo_name": "dp50mm/hyperobjects-language", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 18.9090909091, "max_line_length": 55, "alphanum_fraction": 0.6538461538}
import { INPUT } from './types'

function Input(range, value) {
    this.type = INPUT
    this.range = range
    this.value = value !== undefined ? value : range[0]
}

Input.type = INPUT

export default Input