Member predicate ArrayPattern::getPrefixElement
Gets the n
th element of this list pattern’s prefix, i.e. the elements 1, ^two, 3
in the following examples:
in [ 1, ^two, 3 ]
in [ 1, ^two, 3, ]
in [ 1, ^two, 3, *, 4 , 5]
in [ 1, ^two, 3, *more]
Gets the n
th element of this list pattern’s prefix, i.e. the elements 1, ^two, 3
in the following examples:
in [ 1, ^two, 3 ]
in [ 1, ^two, 3, ]
in [ 1, ^two, 3, *, 4 , 5]
in [ 1, ^two, 3, *more]