company logo

PropertyHandle :: IsBasedOn - Does structure inherit from passed type

The function returns whether the current type of the property handle is a specialization of the type passed in strnames (YES) or not (NO). When no instance is selected the function checks the type defined for the property handle. In contrast to Inherits, the function returns NO, when the current type is identical with the type name passed in strnames.

Return value:  Return value ( logical  )

The function returns YES when the question was answered positively. Otherwise it returns NO.

Implementation details

logical PropertyHandle  :: IsBasedOn ( NString &strnames )
  • strnames - Type name