import { assert_inrange } from "https://deno.land/x/denops_std@v3.6.0/function/vim/mod.ts";
This asserts number and |Float| values. When {actual} is lower than {lower} or higher than {upper} an error message is added to |v:errors|. Also see |assert-return|. When {msg} is omitted an error in the form "Expected range {lower} - {upper}, but got {actual}" is produced.