UNPKG
fully-optional
Version:
latest (1.2.0)
1.2.0
1.1.5
1.1.4
1.1.3
1.1.1
1.1.0
1.0.0
0.0.5
0.0.4
0.0.3
<div align="center">
github.com/YuriiOstapchuk/fully-optional
YuriiOstapchuk/fully-optional
fully-optional
/
dist
/
es
/
bind.d.ts
5 lines
•
277 B
TypeScript
View Raw
1
2
3
4
5
import
{
Optional
}
from
'./types'
;
export
declare
function
bind<T, R>(
value
:
Optional
<T>,
f
:
(
value
: T
) =>
R): R |
undefined
;
export
declare
function
bind<T, R>(
f
:
(
value
: T
) =>
R):
(
value
:
Optional
<T>
) =>
R |
undefined
;
export
default
bind;
//# sourceMappingURL=bind.d.ts.map