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

Online Help

All Products    Maple    MapleSim


type/string

check for an object of type string

type/nonemptystring

check for a non-empty string

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(x, string)

type(x, nonemptystring)

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.

• 

The call type(x, nonemptystring) checks to see if x is of type string and x<>"".

Examples

type1&comma;string

false

(1)

type12&comma;string

false

(2)

type0.5&comma;string

false

(3)

typeString&comma;string

true

(4)

typeName&comma;string

false

(5)

typeab&comma;string

false

(6)

typeab&comma;string

false

(7)

type&comma;string

true

(8)

type&comma;nonemptystring

false

(9)

typeString&comma;nonemptystring

true

(10)

type1&comma;nonemptystring

false

(11)

See Also

Formats/ByType/string

string

type

type/atomic

type/indexable

type/literal

type/name