Rs\Json\Patch\Document::isEmptyPatchDocument PHP Method

isEmptyPatchDocument() private method

private isEmptyPatchDocument ( mixed $patchDocument ) : boolean
$patchDocument mixed
return boolean
    private function isEmptyPatchDocument($patchDocument)
    {
        return empty($patchDocument) || !is_array($patchDocument) || count($patchDocument) === 0;
    }