2.0.70 • Published 4 years ago

@extra-map/is-value-on.min v2.0.70

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Checks if map has a value. :running: :package:

This is part of package extra-map.

This is browserified, minified version of @extra-map/is-value-on. It is exported as global variable map_isValueOn. CDN: unpkg, jsDelivr.

map.isValueOn(x, v, [fn], [ths]);
// x:   a map
// v:   value?
// fn:  map function (v, k, x)
// ths: this argument
const map = require('extra-map');

var x = new Map([['A', 1], ['B', 2], ['C', -3]]);
map.isValueOn(x, 3);
// false

map.isValueOn(x, 3, v => Math.abs(v));
// true
2.0.70

4 years ago

2.0.68

4 years ago

2.0.69

4 years ago

2.0.66

4 years ago

2.0.67

4 years ago

2.0.65

4 years ago

2.0.64

4 years ago

2.0.63

4 years ago

2.0.62

4 years ago

2.0.61

4 years ago

2.0.59

4 years ago

2.0.57

4 years ago

2.0.55

4 years ago

2.0.56

4 years ago

2.0.54

4 years ago

2.0.53

4 years ago

2.0.50

4 years ago

2.0.49

4 years ago

2.0.48

4 years ago

2.0.47

4 years ago

2.0.46

4 years ago