import {} from '../../types/core';
/**
 * Get a unique identifier for a variable, using its `uid` and `nested` properties
 *
 * @param variable variable to get the identifier from
 */
export function getUniqueIdentifier(variable, opts = {
    useNested: true,
}) {
    let identifier = variable.uid;
    if (opts.useNested && 'nested' in variable) {
        identifier += variable.nested.join(',');
    }
    return identifier;
}
//# sourceMappingURL=hashing.js.map