Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helper function for determining if a Time has occured #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BradBot1
Copy link

@BradBot1 BradBot1 commented Aug 7, 2024

This pull request adds has_occured(value: Time) -> Bool


I've added this as I find myself having to check this condition alot when dealing with JWT's or invalidation, and this shorthand removes my need for a helper function across my code. This function only calls the compare method and performs a comparison so basically no maintenence

@BradBot1 BradBot1 changed the title Add helper function for dermining if a Time has occured Add helper function for determining if a Time has occured Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant