Storm\Drivers\Base\Relational\Columns\DataType::Is PHP Method

Is() final public method

final public Is ( DataType $OtherDataType )
$OtherDataType DataType
    public final function Is(DataType $OtherDataType)
    {
        if (strtoupper($this->DataType) !== strtoupper($OtherDataType->DataType)) {
            return false;
        }
        if ($this->Extra !== $OtherDataType->Extra) {
            return false;
        } else {
            return $OtherDataType->Parameters === $OtherDataType->Parameters;
        }
    }