Sha256: 01555210591a9c8e90dd6df48ae3a93833d33d1f28b2058c6ef4206a8f5c079e
Contents?: true
Size: 657 Bytes
Versions: 14
Compression:
Stored size: 657 Bytes
Contents
/** * Returns the last element of an observable sequence that satisfies the condition in the predicate if specified, else the last element. * @param {Function} [predicate] A predicate function to evaluate for elements in the source sequence. * @param {Any} [thisArg] Object to use as `this` when executing the predicate. * @returns {Observable} Sequence containing the last element in the observable sequence that satisfies the condition in the predicate. */ observableProto.last = function (predicate, thisArg) { return predicate ? this.where(predicate, thisArg).last() : lastOrDefaultAsync(this, false); };
Version data entries
14 entries across 7 versions & 1 rubygems