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

Use isa in the docstring of Union #45104

Merged
merged 1 commit into from
Apr 27, 2022
Merged

Conversation

jishnub
Copy link
Contributor

@jishnub jishnub commented Apr 27, 2022

I find the use of isa to be simpler to understand than type-assertions, given that the intent is to obtain a boolean result. It might also be easier for beginners who might not be familiar with type assertions.

I find the use of `isa` to be simpler to understand than type-assertions, given that the intent is to obtain a boolean result. It might also be easier for beginners who might not be familiar with type assertions.
@oscardssmith oscardssmith added the docs This change adds or pertains to documentation label Apr 27, 2022
@fredrikekre fredrikekre merged commit ce5909c into JuliaLang:master Apr 27, 2022
@jishnub jishnub deleted the patch-4 branch April 27, 2022 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants