knowledgebase_law/node_modules/property-information/lib/util/case-insensitive-transform.js
2025-04-11 11:47:09 -04:00

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())
}