import { MatcherRule } from './MatcherRule.js'; /** * @access private */ export class MatchesIdentical extends MatcherRule { constructor(private readonly pattern: Input_Type, transformation: (v: Input_Type) => Output_Type) { super(transformation); } matches(value: Input_Type): boolean { return value === this.pattern; } }