company logo

TypeDefinition :: isA - Is structure of passed type

The function returns, whether the complex data type has exactly the type passed in sTypeName. The function returns true, when types are identical.

When calling the function with an invalid type definition or when the type definition does not refer to a complex data type, the function throws an exception.

Return value:  Success ( bool  )

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

Implementation details

bool TypeDefinition  :: isA ( odaba::String &sTypeName )
  • sTypeName - Type name

    The type name is the name of a data type (usually) defined in the database. The type name might be passed as simple identifier or as scoped name with preceding namespace names separated by double colon '::'.

    In order to pass no type name, an empty string ( String() ) may be passed.