function match(matcher, absolute, { filePath, name }) {
    if (absolute) {
        return filePath != null && matcher.match(filePath)
    }
    return matcher.match(name)
}
Check if matched or not.
@param {InstanceType<Minimatch>} matcher The matcher.
@param {boolean} absolute The flag that the matcher is for absolute paths.
@param {ImportTarget} importee The importee information.