Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>fn.toupper

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.toupper
import { fn } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { toupper } = fn;

The result is a copy of the String given, with all lowercase characters turned into uppercase (just like applying gU to the string). Returns an empty string on error.

Can also be used as a method:

GetText()->toupper()

Parameters

denops: Denops
expr: unknown

Returns

Promise<string>