• Gets the function type (includes _UNION) Returns to the array in order from the target.

    Parameters

    • ctor: Function

      Generator function.

    • hasUnion: boolean

      whether to include '_UNION', default is 'true'.

    Returns Function[]

    Function type array.