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

Online Help

All Products    Maple    MapleSim


type/indexed

check for an object of type indexed

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, indexed)

type(expr, indexed(itype))

Parameters

expr

-

any expression

itype

-

type

Description

• 

The call type(expr, indexed) checks if expr is of type indexed. It returns true if expr is of type indexed, and false otherwise.

• 

If a parameter itype is given, the type command also checks if each of the indices are of type itype.

Examples

> 

type⁡1,indexed

false

(1)
> 

type⁡12,indexed

false

(2)
> 

type⁡0.5,indexed

false

(3)
> 

type⁡String,indexed

false

(4)
> 

type⁡Name,indexed

false

(5)
> 

type⁡ab,indexed

true

(6)
> 

type⁡ab,indexed

false

(7)
> 

type⁡a3,indexed⁡integer

true

(8)
> 

type⁡ab,c,indexed⁡name

true

(9)
> 

type⁡ab,3,indexed⁡name

false

(10)

See Also

indexed

type

type/atomic

type/indexedfun

type/name