Function mayHaveProperties

  • Checks whether the given value may have properties.

    Parameters

    • value: unknown

      The value to check.

    Returns value is object

    true if the value is either a non-null object or function, or false otherwise.

Generated using TypeDoc