Skip to main content

SafeParseResult<T>

SafeParseResult<T> = { success: true; data: T; } | { success: false; error: string; }

Result type for safe parsing operations.


Type Parametersโ€‹

T: Tโ€‹

The type of the parsed data.


Sinceโ€‹

2.0.0