Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ddc_vim/deps.ts>fn.toupper

Dark deno-powered completion framework for neovim/Vim
Very Popular
Go to Latest
function fn.toupper
import { fn } from "https://deno.land/x/ddc_vim@v4.0.3/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>