StringConstructor

@native @JSType trait StringConstructor extends StObject with Instantiable0[String] with Instantiable1[Any, String]
trait Instantiable1[Any, String]
trait Instantiable0[String]
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(): String
def apply(value: Any): String
def fromCharCode(codes: Double*): String
def fromCodePoint(codePoints: Double*): String

Return the String value whose elements are, in order, the elements in the List elements. If length is 0, the empty string is returned.

Return the String value whose elements are, in order, the elements in the List elements. If length is 0, the empty string is returned.

def raw(template: TemplateStringsArray, substitutions: Any*): String

String.raw is intended for use as a tag function of a Tagged Template String. When called as such the first argument will be a well formed template call site object and the rest parameter will contain the substitution values.

String.raw is intended for use as a tag function of a Tagged Template String. When called as such the first argument will be a well formed template call site object and the rest parameter will contain the substitution values.

Value Params
substitutions

A set of substitution values.

template

A well-formed template string call site representation.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object