Merge pull request #6 from txgruppi/readme-update
Updated README, it was describing the wrong return type
This commit is contained in:
commit
312ed27bce
@ -38,7 +38,7 @@ the desired type. **If input is provided that will not convert to that type, the
|
|||||||
0 or nil value for that type will be returned**.
|
0 or nil value for that type will be returned**.
|
||||||
|
|
||||||
Cast also provides identical methods To_____E. These return the same result as
|
Cast also provides identical methods To_____E. These return the same result as
|
||||||
the To_____ methods, plus an additional bool which tells you if it successfully
|
the To_____ methods, plus an additional error which tells you if it successfully
|
||||||
converted. Using these methods you can tell the difference between when the
|
converted. Using these methods you can tell the difference between when the
|
||||||
input matched the zero value or when the conversion failed and the zero value
|
input matched the zero value or when the conversion failed and the zero value
|
||||||
was returned.
|
was returned.
|
||||||
|
Loading…
Reference in New Issue
Block a user