Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@v5.1.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<number>