Pheasant\Property::hasDefaultValue PHP Method

hasDefaultValue() public method

Returns a bool for whether the property has a default value
public hasDefaultValue ( ) : boolean
return boolean
    public function hasDefaultValue()
    {
        return isset($this->type->options()->default);
    }