public static tryParse( readonly value as String, out result as Byte ) as Boolean
Parses text into a Byte without propagating invalid-value errors.
| Parameter | Description |
|---|---|
value | Numeric text accepted by the Byte constructor. |
result | Receives the parsed value on success; remains unchanged on failure. |
true on success; false for malformed or out-of-range text.
result = Byte()
assert Byte.tryParse("42", result)
assert result == Byte(42)
assert not Byte.tryParse("invalid", result)
assert result == Byte(42)