Skip to content

Get index of array element #14999

Closed Answered by smowton
beescuit asked this question in Q&A
Dec 4, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote
from int i, Expr bElement, ArrayExpr array
where array.getElement(i) = bElement and
/* check bElement has desired 'name: b' member */
select array, bElement, i

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@beescuit
Comment options

@smowton
Comment options

Answer selected by beescuit
@beescuit
Comment options

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