Stevebauman\Inventory\Traits\CommonMethodsTrait::isModel PHP Method

isModel() protected method

Returns true/false if the specified model is a subclass of the Eloquent Model.
protected isModel ( mixed $model ) : boolean
$model mixed
return boolean
    protected function isModel($model)
    {
        return $model instanceof Model;
    }