import { assert_inrange } from "https://deno.land/x/denops_std@v6.3.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
.
The error is in the form "Expected range {lower} - {upper},
but got {actual}". When {msg} is present it is prefixed to
that.