Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MapInterface.php

function MapInterface::containsValue

Returns `true` if this map maps one or more keys to the specified value.

This performs a strict type check on the value.

Parameters

T $value The value to check in the map.:

1 method overrides MapInterface::containsValue()
AbstractMap::containsValue in vendor/ramsey/collection/src/Map/AbstractMap.php
Returns `true` if this map maps one or more keys to the specified value.

File

vendor/ramsey/collection/src/Map/MapInterface.php, line 44

Class

MapInterface
An object that maps keys to values.

Namespace

Ramsey\Collection\Map

Code

public function containsValue(mixed $value) : bool;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal