Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 310 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 310 Bytes

Base Return

2 base return type:

  • Result : represents the possibility of failure.
  • Option : represents an optional value

Result

The factory methods on result are:

  • succeed , and should be read as, succeed with this $value as success.
  • fail, and should be read as, fail with this $value as failure.