Skip to main content
Module

x/http_utils/deps.ts>toLowerCase

HTTP utility collection for Fetch API
Go to Latest
function toLowerCase
import { toLowerCase } from "https://deno.land/x/http_utils@1.0.0-beta.15/deps.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>