import { getregtype } from "https://deno.land/x/denops_std@v3.11.1/function/mod.ts";
The result is a String, which is type of register {regname}. The value will be one of: "v" for |characterwise| text "V" for |linewise| text "{width}" for |blockwise-visual| text "" for an empty or unknown register is one character with value 0x16. The {regname} argument is a string. If {regname} is not specified, |v:register| is used. In |Vim9-script| {regname} must be one character. Can also be used as a |method|: GetRegname()->getregtype()
Parameters
denops: Denops