🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-08-08 10:36:51 | PHP 8.2.32
📂
/ (Root)
/
opt
/
alt
/
python38
/
lib
/
python3.8
/
site-packages
/
reactivex
/
operators
/
__pycache__
📍 /opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/__pycache__
🔄 Refresh
✏️
Editing: _last.cpython-38.pyc
Read Only
U v�ir � @ s~ d dl mZmZmZmZ d dlmZmZ d dlm Z ddl mZ ed�Zdee e eee gee f d�d d �Z d gZdS )� )�Any�Callable�Optional�TypeVar)� Observable� operators)� Predicate� )�last_or_default_async�_TN)� predicate�returnc s t t t t d�� fdd�}|S )N)�sourcer c s$ � r| � t�� �t�� �S t| d�S )a� Partially applied last operator. Returns the last element of an observable sequence that satisfies the condition in the predicate if specified, else the last element. Examples: >>> res = last(source) Args: source: Source observable to get last item from. Returns: An observable sequence containing the last element in the observable sequence that satisfies the condition in the predicate. F)�piper �filter�lastr )r �r � �J/opt/alt/python38/lib/python3.8/site-packages/reactivex/operators/_last.pyr s �zlast_.<locals>.last)r r r )r r r r r �last_ s r )N)�typingr r r r Z reactivexr r Zreactivex.typingr Z_lastordefaultr r r �__all__r r r r �<module> s � �!
💾 Save Changes
❌ Cancel