FirstPosition
The position of the first occurrence of value, searching every level.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
FirstPosition!FirstPosition(collection, value)the position of the first occurrence of value, searching every level rather than just the top one.Typed signatures
| Type | Package | Applies |
|---|---|---|
(any, any) -> list<integer> | combinatorics | always |
Details
Examples
Properties #
A match nested inside an earlier sublist beats a plain match later at the top level: depth-first, outer to inner, left to right
live ↗InOut
About
| Examples | 8 |
|---|---|
| Checked against | Wolfram Language 6 agree2 differ |
| Crosswalk | Wolfram Language |