// Copyright © WireMock.Net
namespace WireMock.Matchers;
///
/// Provides some extension methods for matchers.
///
public static class MatcherExtensions
{
///
/// Determines if the match result is a perfect match.
///
/// The string matcher.
/// The input string to match.
/// true> if the match is perfect; otherwise, false>.
public static bool IsPerfectMatch(this IStringMatcher matcher, string? input)
{
return matcher.IsMatch(input).IsPerfect();
}
}