type/unit_name - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

type/unit_name

check for a Maple unit name

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, unit_name)

Parameters

expr

-

expression

Description

• 

A Maple unit name is a symbol, a symbol indexed by a symbol, or a function of either of these whose arguments are symbols.

• 

The type(expr, unit_name) function returns true if expr has the form of a Maple unit name. Otherwise, false is returned.

Examples

typemeter,unit_name

true

(1)

typemileUS_survey,unit_name

true

(2)

typemeterradius,unit_name

true

(3)

typefootstandardradius,unit_name

true

(4)

See Also

type

type/function

type/indexed

type/symbol

type/unit

Units

Units/Index