Skip to main content
Module

x/denops_std/function/mod.ts>toupper

📚 Standard module for denops.vim
Go to Latest
function toupper
import { toupper } from "https://deno.land/x/denops_std@v6.4.0/function/mod.ts";

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>