site/node_modules/property-information/lib/util/case-insensitive-transform.js

11 lines
308 B
JavaScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
import {caseSensitiveTransform} from './case-sensitive-transform.js'
/**
* @param {Record<string, string>} attributes
* @param {string} property
* @returns {string}
*/
export function caseInsensitiveTransform(attributes, property) {
return caseSensitiveTransform(attributes, property.toLowerCase())
}