Socialmetrica/Socialmetrica.package/Tweet.class/instance/isInDB.st

6 lines
129 B
Smalltalk
Raw Normal View History

accessing
isInDB
(Tweet storedInstances select: [ :each | each id = self id ])
ifEmpty: [ ^ false ]
ifNotEmpty: [ ^ true ].