Msieprawski\ResourceTable\Helpers\Column::sortActive PHP Method

sortActive() public method

Checks whether column is active by current sort index
public sortActive ( ) : boolean
return boolean
    public function sortActive()
    {
        $sortIndex = $this->_sortIndex();
        if ($sortIndex === null) {
            return false;
        }
        return $sortIndex == $this->index();
    }