org.w3c.dom.TypeInfo.isDerivedFrom
method
public isDerivedFrom(typeNamespaceArg as String, typeNameArg as String, derivationMethod as Int) as Boolean
Description

Indicates whether this type derives from another schema type.

Parameters
ParameterDescription
typeNamespaceArgBase type namespace URI.
typeNameArgBase type name.
derivationMethodDerivation method mask.
Returns

True when this type is derived from the requested type.

Example
print(info.isDerivedFrom(null, "string", TypeInfo.DERIVATION_RESTRICTION))