webpackPlugin(config, plugin) {
            return {
                absent: () => t.falsy(findWebpackPlugin(config, plugin)),
                exists: () => t.truthy(findWebpackPlugin(config, plugin)),
                get: () => findWebpackPlugin(config, plugin)
            };
        }
Assert that a rule with the given loader can be found

@param {import("webpack").Configuration} config
@param {string|RegExp|((plugin: any) => boolean)} plugin
@param {import('webpack').RuleSetRule|undefined} [forRule]