effect icon indicating copy to clipboard operation
effect copied to clipboard

Missing ParseResult.isParseError

Open jessekelly881 opened this issue 1 year ago • 0 comments

What is the problem this feature would solve?

I was looking for an isParseError and couldn't find one. We should probably add ParseResult.isParseError and ParseResult.isParseResult

What is the feature you are proposing to solve the problem?

export const isParseError = (u: unknown): u is ParseResult.ParseError =>
	Predicate.isTagged(u, "ParseError");

What alternatives have you considered?

No response

jessekelly881 avatar May 23 '24 12:05 jessekelly881