isConstructor

fun isConstructor(cx: Context, argument: Any?): Boolean(source)

IsConstructor: does argument have a [Construct] method. Every Rhino function implements Constructable, so each function kind says for itself whether new would get past its own check; upstream took the interface at its word, which made Date.now, arrow functions, generators, methods and accessors constructors to Reflect.construct and species lookups.