muEC::TYP::IsCompo – tests whether the argument is a composition

The muEC::TYP::IsCompo function tests whether expr is a composition that is a list of positive integers.

→ Examples

Call:

muEC::TYP::IsCompo(expr)

Parameters:

expr

any expression

Related Functions:

muEC::TYP::IsPart

Example 1:

muEC::TYP::IsCompo( [1,2,1,3,2] );

math