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

x/ddu_vim/deps.ts>fn.toupper

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