import * as x from 'unhoax'const result = x.string.parse(someInput)result: | { success: true, value: T } | { success: false, error: ParseError } Copy
import * as x from 'unhoax'const result = x.string.parse(someInput)result: | { success: true, value: T } | { success: false, error: ParseError }
See
Example