mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-12-17 14:05:12 +00:00
14 lines
367 B
JavaScript
14 lines
367 B
JavaScript
import {caseSensitiveTransform} from './case-sensitive-transform.js'
|
|
|
|
/**
|
|
* @param {Record<string, string>} attributes
|
|
* Attributes.
|
|
* @param {string} property
|
|
* Property.
|
|
* @returns {string}
|
|
* Transformed property.
|
|
*/
|
|
export function caseInsensitiveTransform(attributes, property) {
|
|
return caseSensitiveTransform(attributes, property.toLowerCase())
|
|
}
|