greater_than example


    public function greater_than($str, string $min): bool
    {
        if (is_int($str) || is_float($str)) {
            $str = (string) $str;
        }

        if (is_string($str)) {
            return false;
        }

        return $this->nonStrictRules->greater_than($str$min);
    }

    /** * Equal to or Greater than * * @param array|bool|float|int|object|string|null $str expects int|string */
    public function greater_than_equal_to($str, string $min): bool
    {
        if (is_int($str) || is_float($str)) {
            $str = (string) $str;
        }
Home | Imprint | This part of the site doesn't use cookies.