Function decorateAClass

  • Determines if the target is a class based on the method descriptor.

    Parameters

    • Optionalmethod: PropertyDescriptor

      The method descriptor.

    Returns boolean

    True if the target is a class, false otherwise.