Function isDataObject

  • Checks whether a given value is a data object, where a data object IS A plain object (isPlainObject), with the further limitation that it contains no functions, only properties and values. For eg:

    {
    name: "John",
    age: 20
    }

    Returns

    Returns a boolean indicating whether the value is a data object

    Parameters

    • value: any

    Returns boolean

Generated using TypeDoc