Skip to content

Checking for Nones based on an arrays type #3148

Answered by jpivarski
maadcoen asked this question in Q&A
Discussion options

You must be logged in to vote

ARRAY.type is a data structure with content (single child, another Type) and contents (multiple children, a list of Types) that can be navigated.

It's best to avoid checking for a "?" in the string because in more complex cases, the function name option[...] is used.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by maadcoen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants