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

x/ddu_vim/deps.ts>fn.tolower

Dark deno-powered UI framework for neovim/Vim
Go to Latest
function fn.tolower
import { fn } from "https://deno.land/x/ddu_vim@v4.0.0/deps.ts";
const { tolower } = fn;

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

Can also be used as a method:

GetText()->tolower()

Parameters

denops: Denops
expr: unknown

Returns

Promise<string>