MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 182

Actionscript language reference
Table of Contents

Advertisement

isFinite()
Availability
Flash Player 5.
Usage
isFinite(expression:Object) : Boolean
Parameters
A Boolean value, variable, or other expression to be evaluated.
expression
Returns
A Boolean value.
Description
Function; evaluates
or negative infinity. The presence of infinity or negative infinity indicates a mathematical error
condition such as division by 0.
Example
The following example shows return values for
isFinite(56)
// returns true
isFinite(Number.POSITIVE_INFINITY)
// returns false
182
Chapter 5: ActionScript Core Language Elements
ActionScript Core Language Elements
and returns
expression
if it is a finite number or
true
:
isFinite
CHAPTER 5
if it is infinity
false

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flex

Table of Contents