[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'sysutils' (#rtl)

# TByteBoolHelper.TryToParse

Try to convert a string to a ByteBool value

## Declaration

Source position: syshelph.inc line 654

`public class function TByteBoolHelper.TryToParse(`
`const S: string;`
`out AValue: Boolean`
`):Boolean;`

## Description

TryToParse will attempt to convert the string S to a ByteBool value. If the attempt is successful, True is returned, and the actual value is returned in AValue. If the attempt failed, False is returned.

## See also

TByteBoolHelper.Parse |  | Convert string value to ByteBool value.
TByteBoolHelper.ToString |  | Convert a ByteBool value to string.

Documentation generated on: May 14 2021