UNPKG
npm-couple
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.1
A library to couple two objects.
www.github.com/ryansmith94/couple
ryansmith94/couple
npm-couple
/
src
/
typedCouple.coffee
12 lines
(10 loc)
•
211 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
define = this.define ||
require
(
'amdefine'
)(
module
) define([
'./couple'
'./type'
], (couple,
type
) -> () -> typedCouple = couple((a, b) -> typedCouple[
type
(a)](a, b) ) )