string - Maple Help

Online Help

All Products    Maple    MapleSim


type/string

check for an object of type string

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(x, string)

Parameters

x

-

any expression

Description

• 

The call type(x, string) checks to see if x is of type string. It returns true if x is of type string, and false otherwise.

Examples

type1,string

false

(1)

type12,string

false

(2)

type0.5,string

false

(3)

typeString,string

true

(4)

typeName,string

false

(5)

typeab,string

false

(6)

typeab,string

false

(7)

See Also

string

type

type/atomic

type/indexable

type/literal

type/name