PokéRogue
    Preparing search index...
    • Matcher that checks if a Map contains the given key.

      Parameters

      • this: Readonly<MatcherState>
      • received: unknown

        The received value. Should be a Map

      • expectedKey: unknown

        The key whose inclusion is being checked

      • OptionalexpectedValue: unknown

        The desired value for the given key-value pair; if omitted, will only check that the given key exists (disregarding its value)

      Returns SyncExpectationResult

      Whether the matcher passed