• Examines if the extension type matches the target.

    Parameters

    • extType: any

      This is the extension type.

    • target: any

      The type to be inspected.

    • Optionalopt: number

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

    Returns Error | undefined

    Error object or 'undefined' on success.