inRange( value: number, start: number, end: number, behaviour?: "start-exclusive" | "end-exclusive" | "both-exclusive",): boolean Parameters
- value: number
- start: number
- end: number
Optional
behaviour: "start-exclusive" | "end-exclusive" | "both-exclusive"
Returns boolean
Description
Checks if a value is within a specified range.
Example