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

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

> 

type⁡2.3,character

false

(1)
> 

type⁡f,character

true

(2)
> 

type⁡foo,character

false

(3)
> 

type⁡a,character

false

(4)
> 

type⁡,character

false

(5)

See Also

string

type

type/string