Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 531 Bytes

File metadata and controls

39 lines (22 loc) · 531 Bytes

Most

Most(expr)

returns expr with the last element removed.

Most(expr) is equivalent to expr[[;;-2]].

Examples

>> Most({a, b, c})
{a,b}
 
>> Most(a + b + c)
a+b

Nonatomic expressions are expected.

>> Most(x) 
Most(x)

Implementation status

  • ✅ - full supported

Github