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

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

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

The opposite of assert_match(): add an error message to |v:errors| when {pattern} matches {actual}. Also see |assert-return|. Can also be used as a |method|: getFile()->assert_notmatch('bar.*')

Parameters

denops: Denops
pattern: unknown
actual: unknown
optional
msg: unknown

Returns

Promise<unknown>