Skip to main content
Latest
function fn.tolower
import { fn } from "https://deno.land/x/denops_lsputil@v0.9.4/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>