Function: isTaggedValueDto()
@kortexya/reasoninglayer / isTaggedValueDto
Function: isTaggedValueDto()
Section titled “Function: isTaggedValueDto()”isTaggedValueDto(
value):value is ValueDto
Defined in: src/utils/convert.ts:96
Type guard for already-tagged ValueDto.
Parameters
Section titled “Parameters”unknown
Value to check.
Returns
Section titled “Returns”value is ValueDto
true if the value is a ValueDto.
Remarks
Section titled “Remarks”Detects objects with a type field matching a known ValueDto discriminator.
This allows existing Value.* builder output to pass through conversion unchanged.