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