type/sequential - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Type Checking : Types : type/sequential

type/sequential

check for a sequential object

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, sequential)

type(expr, sequential(K))

Parameters

expr

-

expression

K

-

type

Description

• 

The type(expr, sequential) calling sequence returns true if expr is any one of the following types of Maple objects.

list

set

 

• 

The type(expr, sequential(K)) calling sequence returns true if expr is of type sequential and type(x, K) is true for each element x in expr.

Examples

A1,2,3,1,1,1,5,7,9

A:=1,2,3,1,1,1,5,7,9

(1)

typeA,sequential

true

(2)

S1,12,1.0,hello

S:=1,12,1.0,hello

(3)

typeS,sequentialliteral

true

(4)

See Also

type

type/indexable

type/list

type/set

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam