@petsel/es-type-detection - v1.0.0
    Preparing search index...

    Function getDefinedConstructor

    • Parameters

      • Optionalvalue: any = null

        An optionally passed value of any type.

      Returns NewableFunction | ES3Function | ClassConstructor

      if available, the passed value's constructor-function - either a built-in type's constructor-function or an ES6-class constructor-function or an ES3-function - otherwise undefined.