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

x/prelude_js/to_lower_case.ts>toLowerCase

A standard module for functional programming
Latest
function toLowerCase
import { toLowerCase } from "https://deno.land/x/prelude_js@1.2.0/to_lower_case.ts";

Converts all the alphabetic characters in a string to lowercase.

Examples

Example 1

import { toLowerCase } from "https://deno.land/x/prelude_js@$VERSION/to_lower_case.ts";
import { assertEquals } from "https://deno.land/std/testing/asserts.ts";

assertEquals(toLowerCase("Deno"), "deno");

Type Parameters

T extends string

Parameters

input: T

Any string.

Returns

Lowercase<T>