fraction - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


type/fraction

check for an object of type fraction

 

Calling Sequence

Parameters

Description

Supertypes

Examples

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.

Supertypes

• 

type/rational

Examples

> 

type⁡1,fraction

false

(1)
> 

type⁡12,fraction

true

(2)
> 

type⁡0.5,fraction

false

(3)
> 

type⁡String,fraction

false

(4)
> 

type⁡Name,fraction

false

(5)
> 

type⁡ab,fraction

false

(6)
> 

type⁡ab,fraction

false

(7)

See Also

type

type/atomic

type/literal

type/numeric

type/rational