ifirstHit#
- swordfish.function.ifirstHit()#
Return the index of the first element in X that satisfies the condition X func target (e.g. X>5).
If no element in X satisfies the condition, return -1.
Null values are ignored in ifirstHit.
Use ifirstNot to find the index of the first non-null value.
Use find to find the index of the first null value.