MCPcopy Create free account
hub / github.com/UI5/webcomponents / isBetween

Function isBetween

packages/main/src/DayPicker.ts:64–64  ·  view source on GitHub ↗
(x: number, num1: number, num2: number)

Source from the content-addressed store, hash-verified

62import dayPickerCSS from "./generated/themes/DayPicker.css.js";
63
64const isBetween = (x: number, num1: number, num2: number) => x > Math.min(num1, num2) && x < Math.max(num1, num2);
65const DAYS_IN_WEEK = 7;
66
67type DayName = {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…