UNPKG

@modular-forms/qwik

Version:

The modular and type-safe form library for Qwik

13 lines (12 loc) 360 B
import { toCustom$ } from './toCustom$'; /** * Creates a transformation functions that converts all the alphabetic * characters in a string to lowercase. * * @param options The transform options. * * @returns A transformation functions. */ export function toLowerCase(options) { return toCustom$((value) => value && value.toLowerCase(), options); }