Rx.Notification.prototype.hasValue

Determines whether the Notification has a value. Returns true for OnNext Notifications, and false for OnError and OnCompleted Notifications.

Returns

(Bool): Returns true for OnNext Notifications, and false for OnError and OnCompleted Notifications.

Example

Location

  • rx.js