UNPKG
@voiceflow/common
Version:
latest (8.11.1)
test (8.2.7-RC1)
8.11.1
8.11.0
8.10.0
8.9.3
8.9.0
8.8.1
8.8.0
8.7.1
8.7.0
8.6.0
8.5.0
8.4.0
8.3.2
8.3.1
8.3.0
8.2.8
8.2.7
8.2.7-RC1
8.2.6
8.2.5
8.2.4
8.2.3
8.2.2
8.2.1
8.2.0
8.1.5
8.1.4
8.1.3
8.1.2
8.1.1
8.1.0
8.0.1
8.0.0
7.28.0
7.27.3
7.27.2
7.27.1
7.27.0
7.26.1
7.26.0
7.25.3
7.25.2
7.25.1
7.25.0
7.24.0
7.23.0
7.22.1
7.22.0
7.21.0
7.20.2
7.20.1
7.20.0
7.19.3
7.19.2
7.19.1
7.19.0
7.18.2
7.18.1
7.18.0
7.17.0
7.16.0
7.15.4
7.15.3
7.15.2
7.15.1
7.15.0
7.14.0
7.13.4
7.13.3
7.13.2
7.13.1
7.13.0
7.12.1
7.12.0
7.11.0
7.10.0
7.9.0
7.8.1
7.8.0
7.7.1
7.7.0
7.6.4
7.6.3
7.6.2
7.6.1
7.6.0
7.5.0
7.4.0
7.3.1
7.3.0
7.2.0
7.1.0
7.0.0
6.9.3
6.9.2
6.9.1
6.9.0
6.8.1
6.8.0
6.7.1
6.7.0
6.6.2
6.6.1
6.6.0
6.5.1
6.5.0
6.4.0
6.3.0
6.2.3
6.2.2
6.2.1
6.2.0
6.1.4
6.1.3
6.1.2
6.1.1
6.1.0
6.0.2
6.0.1
6.0.0
5.0.1
5.0.0
4.3.2
4.3.1
4.3.0
4.2.1
4.2.0
4.1.0
4.0.1
4.0.0
3.1.0
3.0.0
2.0.0
1.3.0
1.2.0
1.1.2
1.1.1
1.1.0
1.0.0
0.1.1
0.1.0
0.0.3
0.0.2
Junk drawer of utility functions
github.com/voiceflow/libs
voiceflow/libs
@voiceflow/common
/
build
/
cjs
/
utils
/
map.d.ts
3 lines
•
218 B
TypeScript
View Raw
1
2
3
export
declare
function
getOrDefault<K, V>(
map
:
Map
<K, V>,
key
: K,
defaultValue
: V): V;
export
declare
function
getOrDefault<K, V>(
map
:
Map
<K, V>,
key
: K,
getDefaultValue
:
() =>
V): V;
//# sourceMappingURL=map.d.ts.map