Function isObject

  • Checks if value is an object. Arrays are also considered objects. The type guard here says o is any. TODO: When TS 4.9.x is released, change this to o is object. At that point 'x' in o checks become type guards that can assert the property's existence.

    Parameters

    • o: unknown

    Returns o is object

Generated using TypeDoc