Java Javascript Mozilla Library toString(Object val)

Here you can find the source of toString(Object val)

Description

to String

License

Open Source License

Declaration

public static String toString(Object val) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import org.mozilla.javascript.ScriptRuntime;

public class Main {
    public static String toString(Object val) {
        return ScriptRuntime.toString(val);
    }//  w ww .j  a  v  a2s  . co  m
}

Related

  1. toInt(Object obj, int defaultValue)
  2. toJavaBoolean(final Scriptable options, final String key)
  3. toJavaInt(final Object fromScript)
  4. toList(AstNode... nodes)
  5. toRegExp(String source, String optionsString)
  6. trace(Object object)
  7. traceHelper(Function function, Object... args)
  8. unwrap(Object obj)
  9. unwrapNativeArray(final NativeArray na)