company logo

Value :: isEmpty - Is property instance empty?

The function returns whether the value handle contains data (false) or not (true). A value is considered as empty when:

  • the value is false (LOGICAL)
  • the value is 0 (INT, REAL, Enumeration, Date, Time, DateTime)
  • the value is "" (CHAR, STRING,CCHAR, MEMO)
  • when all properties are empty (for complex data type properties)

The property throws an exception, when the property handle is not valid.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool Value  :: isEmpty (  )

The function returns, whether the value selected for the current property is empty.