Class.create

Ditto, but also casts the result to a type given by template parameter.

  1. Object create [@property getter]
  2. T create [@property getter]
    class Class
    @property const
    T
    create
    (
    T : Object
    )
    ()

Parameters

T

An Object type to which the result is cast.

Return Value

Type: T

A new instance of the class.

Meta