Function getObjectName

  • Gets name of an object.

    Type Parameters

    • T extends {
          [key: string]: any;
      } = object

    Parameters

    • obj: T

      the object to inspect.

    • lower: boolean = true

      whether to convert resutl to lowercase.

    Returns string