mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-12-17 14:05:12 +00:00
13 lines
326 B
JavaScript
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()
|
|
}
|