Java jdk.nashorn.internal.runtime JSType fields, constructors, methods, implement or subclass

Example usage for Java jdk.nashorn.internal.runtime JSType fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for jdk.nashorn.internal.runtime JSType.

The text is from its open source code.

Method

booleanisNumber(final Object obj)
Returns true if object represents a primitive JavaScript number value.
booleannullOrUndefined(final Object obj)
Check if an object is null or undefined
booleantoBoolean(final double num)
JavaScript compliant conversion of number to boolean
booleantoBoolean(final Object obj)
JavaScript compliant conversion of Object to boolean See ECMA 9.2 ToBoolean
inttoInteger(final Object obj)
JavaScript compliant Object to integer conversion.
StringtoString(final Object obj)
JavaScript compliant converter of Object to String See ECMA 9.8 ToString
StringtoString(final int num)
JavaScript compliant conversion of integer to String
StringtoString(final double num)
JavaScript compliant conversion of number to String See ECMA 9.8.1