/** * Returns a new stream that only emits elements that are not equal to the * previous element emitted, using strict equality to determine whether two * elements are equal. * * @tsplus getter effect/core/stream/Stream changes */ export function changes( self: Stream ): Stream { return self.changesWith((x, y) => x === y) }