PageOffset

source

Constructors

new PageOffset(value: any): PageOffsetsource

inherited from BrandedNumber<"PageOffset">.constructor

Properties

readonly[species]: "PageOffset"source

inherited from BrandedNumber.[species]

readonlystaticEPSILON: numbersource

inherited from BrandedNumber.EPSILON

The value of Number.EPSILON is the difference between 1 and the smallest value greater than 1 that is representable as a Number value, which is approximately: 2.2204460492503130808472633361816 x 10‍−‍16.

readonlystaticMAX_SAFE_INTEGER: numbersource

inherited from BrandedNumber.MAX_SAFE_INTEGER

The value of the largest integer n such that n and n + 1 are both exactly representable as a Number value. The value of Number.MAX_SAFE_INTEGER is 9007199254740991 2^53 − 1.

readonlystaticMAX_VALUE: numbersource

inherited from BrandedNumber.MAX_VALUE

The largest number that can be represented in JavaScript. Equal to approximately 1.79E+308.

readonlystaticMIN_SAFE_INTEGER: numbersource

inherited from BrandedNumber.MIN_SAFE_INTEGER

The value of the smallest integer n such that n and n − 1 are both exactly representable as a Number value. The value of Number.MIN_SAFE_INTEGER is −9007199254740991 (−(2^53 − 1)).

readonlystaticMIN_VALUE: numbersource

inherited from BrandedNumber.MIN_VALUE

The closest number to zero that can be represented in JavaScript. Equal to approximately 5.00E-324.

readonlystaticNEGATIVE_INFINITY: numbersource

inherited from BrandedNumber.NEGATIVE_INFINITY

A value that is less than the largest negative number that can be represented in JavaScript. JavaScript displays NEGATIVE_INFINITY values as -infinity.

readonlystaticNaN: numbersource

inherited from BrandedNumber.NaN

A value that is not a number. In equality comparisons, NaN does not equal any value, including itself. To test whether a value is equivalent to NaN, use the isNaN function.

readonlystaticPOSITIVE_INFINITY: numbersource

inherited from BrandedNumber.POSITIVE_INFINITY

A value greater than the largest number that can be represented in JavaScript. JavaScript displays POSITIVE_INFINITY values as infinity.

Inherited methods

[custom](): numbersource

inherited from BrandedNumber.[custom]

toExponential(fractionDigits: number): stringsource

inherited from BrandedNumber.toExponential

Returns a string containing a number represented in exponential notation.

toFixed(fractionDigits: number): stringsource

inherited from BrandedNumber.toFixed

Returns a string representing a number in fixed-point notation.

toLocaleString(locales: string | string[], options: NumberFormatOptions): stringsource

inherited from BrandedNumber.toLocaleString

Converts a number to a string by using the current or specified locale.

toLocaleString(locales: LocalesArgument, options: NumberFormatOptions): stringsource

inherited from BrandedNumber.toLocaleString

Converts a number to a string by using the current or specified locale.

toPrecision(precision: number): stringsource

inherited from BrandedNumber.toPrecision

Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.

toString(radix: number): stringsource

inherited from BrandedNumber.toString

Returns a string representation of an object.

valueOf(): numbersource

inherited from BrandedNumber.valueOf

Returns the primitive value of the specified object.

staticfrom<T extends Number>(this: ProtectedCtor<T>, value: number): Tsource

inherited from BrandedNumber.from

staticisFinite(number: unknown): booleansource

inherited from BrandedNumber.isFinite

Returns true if passed value is finite. Unlike the global isFinite, Number.isFinite doesn't forcibly convert the parameter to a number. Only finite values of the type number, result in true.

staticisInteger(number: unknown): booleansource

inherited from BrandedNumber.isInteger

Returns true if the value passed is an integer, false otherwise.

staticisNaN(number: unknown): booleansource

inherited from BrandedNumber.isNaN

Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number). Unlike the global isNaN(), Number.isNaN() doesn't forcefully convert the parameter to a number. Only values of the type number, that are also NaN, result in true.

staticisSafeInteger(number: unknown): booleansource

inherited from BrandedNumber.isSafeInteger

Returns true if the value passed is a safe integer.

staticparseFloat(string: string): numbersource

inherited from BrandedNumber.parseFloat

Converts a string to a floating-point number.

staticparseInt(string: string, radix: number): numbersource

inherited from BrandedNumber.parseInt

Converts A string to an integer.