(value)
| 4 | import MultipleElementsFound from '../errors/MultipleElementsFound.js' |
| 5 | |
| 6 | function resolveElementIndex(value) { |
| 7 | if (value === 'first') return 1 |
| 8 | if (value === 'last') return -1 |
| 9 | return value |
| 10 | } |
| 11 | |
| 12 | function isStrictStep(opts, helper) { |
| 13 | if (opts?.exact === true || opts?.strictMode === true) return true |