ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Modules\Test\Incident Class Reference
+ Collaboration diagram for ILIAS\Modules\Test\Incident:

Public Member Functions

 any (callable $are_you_ok, array $array)
 A More...
 

Detailed Description

Definition at line 23 of file Incident.php.

Member Function Documentation

◆ any()

ILIAS\Modules\Test\Incident::any ( callable  $are_you_ok,
array  $array 
)

A

Parameters
callable(A)bool $are_you_ok
A[]$array

Definition at line 30 of file Incident.php.

30  : bool
31  {
32  foreach ($array as $x) {
33  if ($are_you_ok($x)) {
34  return true;
35  }
36  }
37 
38  return false;
39  }

The documentation for this class was generated from the following file: