review
Reviews a flashcard and calculates its new state based on the provided parameters.
Return
The new state of the flashcard after applying the FSRS algorithm.
Parameters
state
The current state of the flashcard, or null if it's a new card.
rating
The user's rating of their recall performance.
elapsed Days
The number of days since the last review.
same Day
A boolean indicating if the review is happening on the same day as the last review.