src/Arvici/Heart/Database/Database.php
public static function typeOfValue($value)
    {
        if (is_null($value)) {
            return self::TYPE_NULL;
        }
        if (is_int($value)) {
            return self::TYPE_INT;
        }
        if (is_bool($value)) {
            return self::TYPE_BOOL;
        }
        return self::TYPE_STR;
    }
public static function typeOfValue($value)
    {
        if (is_null($value)) {
            return self::TYPE_NULL;
        }
        if (is_int($value)) {
            return self::TYPE_INT;
        }
        if (is_bool($value)) {
            return self::TYPE_BOOL;
        }
        return self::TYPE_STR;
    }
public static function typeOfValue ( $ value ) { if ( is_null ( $ value ) ) { return self :: TYPE_NULL ; } if ( is_int ( $ value ) ) { return self :: TYPE_INT ; } if ( is_bool ( $ value ) ) { return self :: TYPE_BOOL ; } return self :: TYPE_STR ; }
Get type of value.

@param mixed $value
@return int
Get type of value .