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