From 31d65726dd2029e539878d936da161bc76393c4d Mon Sep 17 00:00:00 2001 From: ".zh" Date: Tue, 20 Aug 2024 17:45:30 +0300 Subject: [PATCH] Update is-between.md Add note about the default state of the inclusivity parameter. --- docs/query/is-between.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/query/is-between.md b/docs/query/is-between.md index beb51c975..dfa5e2e2d 100644 --- a/docs/query/is-between.md +++ b/docs/query/is-between.md @@ -24,7 +24,7 @@ Units are case insensitive, and support plural and short forms. The fourth parameter is about inclusivity. A `[` indicates inclusion of a value. A `(` indicates exclusion. -If the inclusivity parameter is used, both indicators must be passed. +If the inclusivity parameter is used, both indicators must be passed. If it is omitted, it defaults to `'()'` (exclusive). ```js dayjs('2016-10-30').isBetween('2016-01-01', '2016-10-30', null, '[)')