routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
Generated
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Check if a range contains another range.
|
||||
*
|
||||
* @param includingRange - The range that may include the other range.
|
||||
* @param subRange - The range to check if it is included.
|
||||
* @returns True if the includingRange contains the subRange, false otherwise.
|
||||
*/
|
||||
function rangeContainsRange(includingRange, subRange) {
|
||||
return includingRange[0] <= subRange[0] && includingRange[1] >= subRange[1]
|
||||
}
|
||||
export { rangeContainsRange }
|
||||
Reference in New Issue
Block a user