Skip to content

Release v4.9.0

Compare
Choose a tag to compare
@whsv26 whsv26 released this 18 Dec 00:04
· 359 commits to master since this release
  • Option getOrThrow method
>>> Option::some(1)->getOrThrow(fn() => new RuntimeException('???'));
=> 1

>>> Option::none()->getOrThrow(fn() => new RuntimeException('???'));
RuntimeException with message '???'