Function type

  • Return a canonical string representation for an object's type (e.g. 'array', 'number', ...).

    Parameters

    • obj: any

    Returns string