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 'is_terminal' function for importless checking. #23

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

SergioBenitez
Copy link
Contributor

As in the title. Just a convenience. I just don't want to import a trait when a simple function will do.

@sunfishcode
Copy link
Owner

Seems reasonable. Could you add a doc comment mentioning that this is just a convenience wrapper around the trait function? That way users hopefully can avoid any confusion about whether it's doing something different.

@SergioBenitez
Copy link
Contributor Author

You got it! Done.

@sunfishcode sunfishcode merged commit cc90de8 into sunfishcode:main Mar 28, 2023
@sunfishcode
Copy link
Owner

Thanks!

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.

2 participants