object Util extends Object with Util
Util Singleton
- Annotations
- @native() @JSImport("util", JSImport.Namespace)
- Alphabetic
- By Inheritance
- Util
- Util
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def callbackify[T](original: Function): Function2[Any, T, Any]
- Definition Classes
- Util
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def debuglog(section: String): Function
This is used to create a function which conditionally writes to stderr based on the existence of a NODE_DEBUG environment variable.
This is used to create a function which conditionally writes to stderr based on the existence of a NODE_DEBUG environment variable. If the section name appears in that environment variable, then the returned function will be similar to console.error(). If not, then the returned function is a no-op.
- Definition Classes
- Util
util.debuglog(section)
Example: - def deprecate(function: Function, message: String): Any
- Definition Classes
- Util
- def deprecate(function: Function, message: String, code: String): Any
Marks that a method should not be used any more.
Marks that a method should not be used any more.
- Definition Classes
- Util
util.deprecate(function, message)
Example: - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def format(format: String, args: Any*): String
Returns a formatted string using the first argument as a printf-like format.
Returns a formatted string using the first argument as a printf-like format.
- Definition Classes
- Util
util.format(format[, ...])
Example: - def formatWithOptions(inspectOptions: InspectOptions, format: String, args: Any*): String
- Definition Classes
- Util
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getSystemErrorName(err: Int): String
- Definition Classes
- Util
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def inherits(constructor: Any, superConstructor: Any): Any
Inherit the prototype methods from one constructor into another.
Inherit the prototype methods from one constructor into another. The prototype of constructor will be set to a new object created from superConstructor.
As an additional convenience, superConstructor will be accessible through the constructor.super_ property.
- Definition Classes
- Util
util.inherits(constructor, superConstructor)
Example: - val inspect: InspectObject
- Definition Classes
- Util
- def isDeepStrictEqual(val1: Any, val2: Any): Boolean
- Definition Classes
- Util
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val promisify: PromisifyObject
- Definition Classes
- Util
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- val types: UtilTypes
- Definition Classes
- Util
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()