Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
<?php
2
 
3
namespace PhpOffice\PhpSpreadsheet\Calculation\Logical;
4
 
5
class Boolean
6
{
7
    /**
8
     * TRUE.
9
     *
10
     * Returns the boolean TRUE.
11
     *
12
     * Excel Function:
13
     *        =TRUE()
14
     *
15
     * @return bool True
16
     */
17
    public static function true(): bool
18
    {
19
        return true;
20
    }
21
 
22
    /**
23
     * FALSE.
24
     *
25
     * Returns the boolean FALSE.
26
     *
27
     * Excel Function:
28
     *        =FALSE()
29
     *
30
     * @return bool False
31
     */
32
    public static function false(): bool
33
    {
34
        return false;
35
    }
36
}