/** * @module indicative-rules */ import { SanitizationDefination } from 'indicative-compiler'; /** * Converts the field value to lower case. Also, this sanitization rule * is locale aware. * * ```ts * import { sanitizations } from 'indicative/sanitizer' * * const sanitizationRules = { * hexCode: 'lower_case' * } * * // or * const sanitizationRules = { * hexCode: [ * sanitizations.lowerCase() * ] * } * ``` * * You may also specify a locale. * * ```ts * import { sanitizations } from 'indicative/sanitizer' * * const sanitizationRules = { * label: 'lower_case:fr-CA' * } * * // or * const sanitizationRules = { * label: [ * sanitizations.lowerCase(['fr-CA']) * ] * } * ``` */ declare const lowerCase: SanitizationDefination; export { lowerCase as default };