listlist - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


type/listlist

Check for a list of lists

 

Calling Sequence

Parameters

Description

Supertypes

Examples

Calling Sequence

type(expr, listlist)

type(expr, listlist(K))

Parameters

expr

-

any expression

K

-

type name

Description

• 

The function type/listlist returns true if expr is a nonempty list of lists, with each inner list having the same number of elements. Otherwise, it returns false.

• 

If a type is given, then an additional check will be made to ensure that all the operands of the inner lists are of the given type.

Supertypes

• 

type/nonemptylist

Examples

> 

type⁡,listlist

false

(1)
> 

type⁡1,2,3,4,listlist

true

(2)
> 

type⁡1,2,3,4,listlist⁡integer

true

(3)
> 

type⁡8,7,6,12,listlist

false

(4)
> 

type⁡1,2,3,4,5,listlist

false

(5)
> 

type⁡,listlist

true

(6)
> 

type⁡a,b,c,d,listlist

true

(7)
> 

type⁡a,b,c,d,listlist⁡integer

false

(8)

See Also

convert/list

list

type

type/list

type/Matrix