check for an object of type fraction - Maple Help

Online Help

All Products    Maple    MapleSim


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

type/fraction - check for an object of type fraction

Calling Sequence

type(x, fraction)

Parameters

x

-

any expression

Description

• 

The type(x, fraction) calling sequence returns true if x is of type rational(type,rational) and not of type integer.

Examples

type1,fraction

false

(1)

type12,fraction

true

(2)

type0.5,fraction

false

(3)

typeString,fraction

false

(4)

typeName,fraction

false

(5)

typeab,fraction

false

(6)

typeab,fraction

false

(7)

See Also

type, type/atomic, type/literal, type/numeric, type/rational


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