Socialmetrica/Socialmetrica.package/TweetsCollection.class/instance/newest.st

7 lines
208 B
Smalltalk
Raw Normal View History

2022-04-14 22:40:41 +00:00
accessing
newest
self messages ifNil: [ ^ nil ].
self messages ifNilEmpty: [ ^ nil ].
self pinned created > self messages second created
ifTrue: [ ^ self pinned ]
ifFalse: [ ^ self messages second ]