ILIAS  release_8 Revision v8.24
class.ilADTBooleanDefinition.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
9{
10 // comparison
11
12 public function isComparableTo(ilADT $a_adt): bool
13 {
14 // has to be boolean-based
15 return ($a_adt instanceof ilADTBoolean);
16 }
17}
Class ilADTBooleanDefinition.
isComparableTo(ilADT $a_adt)
Check if given ADT is comparable to self.
ADT definition base class.
ADT base class.
Definition: class.ilADT.php:12