Obj::isStorage() 

\nn\t3::Obj()->isStorage($obj); 

Checks whether the object is a storage.

\nn\t3::Obj()->isStorage( $obj );
Copied!

| @return boolean

Source Code 

public function isStorage ( $obj )
{
	if (!is_object($obj) || is_string($obj)) return false;
	$type = get_class($obj);
	return is_a($obj, ObjectStorage::class) || $type == LazyObjectStorage::class || $type == ObjectStorage::class || $type == \TYPO3\CMS\Extbase\Persistence\ObjectStorage::class;
}
Copied!