knowledgebase_law/node_modules/property-information/lib/normalize.js
2025-04-11 11:47:09 -04:00

13 lines
326 B
JavaScript

/**
* Get the cleaned case insensitive form of an attribute or property.
*
* @param {string} value
* An attribute-like or property-like name.
* @returns {string}
* Value that can be used to look up the properly cased property on a
* `Schema`.
*/
export function normalize(value) {
return value.toLowerCase()
}