• Converts value to a plain object flattening inherited enumerable properties of value to own properties of the plain object.

    Parameters

    • Optionalvalue: any

      The value to convert.

    Returns any

    Returns the converted plain object.