whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
azjezz
/
psl
/
src
/
Psl
/
Math
/
Upload File:
files >> /home/kckglobal/www/portal/vendor/azjezz/psl/src/Psl/Math/min.php
<?php declare(strict_types=1); namespace Psl\Math; /** * Returns the smallest element of the given list, or null if the * list is empty. * * @template T of int|float * * @param list<T> $numbers * * @return T|null * * @pure */ function min(array $numbers): null|float|int { $min = null; foreach ($numbers as $number) { if (null === $min || $number < $min) { $min = $number; } } return $min; }
Copyright ©2021 || Defacer Indonesia