Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/vim/mod.ts>charclass

๐Ÿ“š Standard module for denops.vim
Go to Latest
function charclass
import { charclass } from "https://deno.land/x/denops_std@v3.6.0/function/vim/mod.ts";

Return the character class of the first character in {string}. The character class is one of: 0 blank 1 punctuation 2 word character 3 emoji other specific Unicode class The class is used in patterns and word motions.

Parameters

denops: Denops
string: unknown

Returns

Promise<unknown>