# Function undiscriminatedUnion

- undiscriminatedUnion<Schemas extends [Schema<any, any>, ...Schema<any, any>[]]>(
  schemas: Schemas,
  ): Schema<
  inferRawUnidiscriminatedUnionSchema<Schemas>,
  inferParsedUnidiscriminatedUnionSchema<Schemas>,
  >

  #### Type Parameters

  - Schemas extends [Schema<any, any>, ...Schema<any, any>[]]

  #### Parameters

  - schemas: Schemas

  #### Returns Schema<
  inferRawUnidiscriminatedUnionSchema<Schemas>,
  inferParsedUnidiscriminatedUnionSchema<Schemas>,
  >

  - Defined in engine/sdks/typescript/api-full/types/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts:3