type/character - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

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