• Examine whether the extension type allows the target type.

    Parameters

    • extType: any

      This is the extension type.

    • tarType: any

      The type to be examined.

    • Optionalopt: number

      Acceptable option: 0 = Keep existing, 1 = Create class type.

    Returns Error | undefined

    Error object or 'undefined' on success.