Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 737 Bytes

types.basetypeimpl.or.md

File metadata and controls

27 lines (16 loc) · 737 Bytes

Home > @skunkteam/types > BaseTypeImpl > or

BaseTypeImpl.or() method

Union this Type with another Type.

Signature:

or<Other extends BaseTypeImpl<unknown>>(_other: Other): Type<ResultType | TypeOf<Other>>;

Parameters

Parameter Type Description
_other Other

Returns:

Type<ResultType | TypeOf<Other>>

Remarks

See UnionType for more information about unions.