37 lines
541 B
PHP
37 lines
541 B
PHP
<?php
|
|
|
|
namespace PhpOffice\PhpSpreadsheet\Calculation\Logical;
|
|
|
|
class Boolean
|
|
{
|
|
/**
|
|
* TRUE.
|
|
*
|
|
* Returns the boolean TRUE.
|
|
*
|
|
* Excel Function:
|
|
* =TRUE()
|
|
*
|
|
* @return bool True
|
|
*/
|
|
public static function true(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
* FALSE.
|
|
*
|
|
* Returns the boolean FALSE.
|
|
*
|
|
* Excel Function:
|
|
* =FALSE()
|
|
*
|
|
* @return bool False
|
|
*/
|
|
public static function false(): bool
|
|
{
|
|
return false;
|
|
}
|
|
}
|