Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Widmogrod
Monad
Either
Either
PHP 인터페이스 Widmogrod\Monad\Either\Either
상속:
extends
Widmogrod\FantasyLand\Monad
,
extends
Widmogrod\Common\ValueOfInterface
파일 보기
프로젝트 열기: widmogrod/php-functional
0 사용 예제들
공개 메소드들
메소드
설명
either
(
callable
$left
,
callable
$right
) :
mixed
Depending on if is Left or is Right then it apply corresponding function
메소드 상세
either()
공개
메소드
Depending on if is Left or is Right then it apply corresponding function
public
either
(
callable
$left
,
callable
$right
) :
mixed
$left
callable
(a -> b)
$right
callable
(c -> b)
리턴
mixed
b