src/Value.php
public function type(): string
    {
        if (is_string($this->value)) {

            return $this->string($this->value);

        }

        if (is_array($this->value)) {

            return $this->array($this->value);

        }

        if (is_object($this->value)) {

            return $this->object($this->value);

        }

        return gettype($this->value);
    }
public function type(): string
    {
        if (is_string($this->value)) {

            return $this->string($this->value);

        }

        if (is_array($this->value)) {

            return $this->array($this->value);

        }

        if (is_object($this->value)) {

            return $this->object($this->value);

        }

        return gettype($this->value);
    }
public function type ( ) : string { if ( is_string ( $ this -> value ) ) { return $ this -> string ( $ this -> value ) ; } if ( is_array ( $ this -> value ) ) { return $ this -> array ( $ this -> value ) ; } if ( is_object ( $ this -> value ) ) { return $ this -> object ( $ this -> value ) ; } return gettype ( $ this -> value ) ; }
Return a detailled string representation of the value.

@return string
Return a detailled string representation of the value .