function checkReference(references) {
            astUtils.getModifyingReferences(references).forEach(reference => {
                context.report({ node: reference.identifier, message: "'{{name}}' is a function.", data: { name: reference.identifier.name } });
            });
        }
function checkReference(references) {
            astUtils.getModifyingReferences(references).forEach(reference => {
                context.report({ node: reference.identifier, message: "'{{name}}' is a function.", data: { name: reference.identifier.name } });
            });
        }
function checkReference ( references ) { astUtils . getModifyingReferences ( references ) . forEach ( reference => { context . report ( { node : reference . identifier , message : "'{{name}}' is a function." , data : { name : reference . identifier . name } } ) ; } ) ; }
Reports a reference if is non initializer and writable.
@param {References} references - Collection of reference to check.
@returns {void}
Reports a reference if is non initializer and writable .
Check that the reference is a function