hkt-toolbelt
Version:
Functional and composable type utilities
18 lines (17 loc) • 399 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.toLower = void 0;
/**
* Given a string, convert it to lowercase.
*
* @param {string} x - The string to convert to lowercase.
*
* @example
* ```ts
* import { String } from "hkt-toolbelt";
*
* const result = String.toLower('HELLO')
* // ^? 'hello'
* ```
*/
exports.toLower = ((x) => x.toLowerCase());