LengthWhile
LengthWhile({e1, e2, ...}, head)returns the number of elements
eiat the start of list for whichhead(ei)returnsTrue.
Examples
>> LengthWhile({1, 2, 3, 10, 5, 8, 42, 11}, # < 10 &)3Implementation status
- ✅ - full supported
LengthWhile({e1, e2, ...}, head)returns the number of elements
eiat the start of list for whichhead(ei)returnsTrue.
>> LengthWhile({1, 2, 3, 10, 5, 8, 42, 11}, # < 10 &)3