Skip to content

Populated field type #813

Closed Answered by hasezoey
wasya243 asked this question in Q&A
Apr 7, 2023 · 4 comments · 8 replies
Discussion options

You must be logged in to vote

i dont know why i wrote this, but yes, ! and NonNullable do not help in this way, sorry about that.

so to your original question, your only options are:

  • use isDocument via a early-return (via if () return or assertion) or only operate in that if-block
  • use manual type-casting

Replies: 4 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@wasya243
Comment options

@hasezoey
Comment options

Answer selected by wasya243
@wasya243
Comment options

@olawalejuwonm
Comment options

Comment options

You must be logged in to vote
1 reply
@hasezoey
Comment options

Comment options

You must be logged in to vote
1 reply
@hasezoey
Comment options

Comment options

You must be logged in to vote
2 replies
@hasezoey
Comment options

@olawalejuwonm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Qustions about how to use stuff
3 participants
Converted from issue

This discussion was converted from issue #811 on April 07, 2023 15:42.