3 ms·
Strictly, not the same. One returns a value and an error. One returns a value or nothing. Having the error can signal both if a value could not be retrieved,
by taeric 6y ago
Strictly, not the same. One returns a value and an error. One returns a value or nothing.
Having the error can signal both if a value could not be retrieved, or if it could be retrieved, but was coerced, as an example.