character - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


type/character

check for an object of type character

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type( expr, 'character' )

Parameters

expr

-

expression

Description

• 

The type( expr, 'character' ) command verifies if expr is of type character. It returns true if expr is of type character, and false otherwise. A character is defined as a string with length equal to one.

Examples

type2.3,character

false

(1)

typef,character

true

(2)

typefoo,character

false

(3)

typea,character

false

(4)

type,character

false

(5)

See Also

string

type

type/string