check for an expression of type `||` - Maple Help

Online Help

All Products    Maple    MapleSim


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

type/|| - check for an expression of type `||`

Calling Sequence

type(expr, `||`)

Parameters

expr

-

expression

Description

• 

This command returns true if expr is an unevaluated concatenated object, and false otherwise.

• 

A concatenated object remains unevaluated if its right-hand argument does not evaluate to an expression of one of the following types.

integer

float

name

range

string

Examples

typep||i,`||`

false

(1)

typea||43,`||`

true

(2)

typen||45.67,`||`

false

(3)

r:=poly||x32x

r:=poly||x32x

(4)

typer,`||`

true

(5)

See Also

cat, type, type[integer], type[name], type[range], type[string], ||


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam