Skip to main content
The Deno 2 Release Candidate is 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@v4.1.4/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>