company logo

DBStructDef :: IsBasedOn - Does structure inherit from passed type

The function returns whether the type definition is a specialization of the type passed in sTypeName (true) or not (false). In contrast to inherits(), the function returns false, when the type is identical with the type name passed. The function does not check, whether the type name passed is a valid type.

When calling the function with an invalid type definition (e.g. key definition), the function throws an exception.

Return value:  Return value ( logical  )

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

Implementation details

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