arrow-analysis-laws
2.0.2-alpha.6
arrow-analysis-laws
/
arrow.analysis.laws.kotlin
/
ResultLaws
Result
Laws
object
ResultLaws
Content copied to clipboard
Functions
Functions
failure
Law
Link copied to clipboard
inline
fun
<
T
>
Result.Companion
.
failureLaw
(
e
:
Throwable
)
:
Result
<
T
>
Content copied to clipboard
get
Or
Null
Law
Link copied to clipboard
inline
fun
<
T
>
Result
<
T
>
.
getOrNullLaw
(
)
:
T
?
Content copied to clipboard
is
Failure
Law
Link copied to clipboard
inline
fun
<
T
>
Result
<
T
>
.
isFailureLaw
(
)
:
Boolean
Content copied to clipboard
map
Law
Link copied to clipboard
inline
fun
<
R
,
T
>
Result
<
T
>
.
mapLaw
(
transform
:
(
T
)
->
R
)
:
Result
<
R
>
Content copied to clipboard
success
Law
Link copied to clipboard
inline
fun
<
T
>
Result.Companion
.
successLaw
(
x
:
T
)
:
Result
<
T
>
Content copied to clipboard