2.0.70 • Published 5 years ago

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

Weekly downloads
1
License
MIT
Repository
github
Last release
5 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

5 years ago

2.0.68

5 years ago

2.0.69

5 years ago

2.0.66

5 years ago

2.0.67

5 years ago

2.0.65

5 years ago

2.0.64

5 years ago

2.0.63

5 years ago

2.0.62

5 years ago

2.0.61

5 years ago

2.0.59

5 years ago

2.0.57

5 years ago

2.0.55

5 years ago

2.0.56

5 years ago

2.0.54

5 years ago

2.0.53

5 years ago

2.0.50

5 years ago

2.0.49

5 years ago

2.0.48

5 years ago

2.0.47

5 years ago

2.0.46

5 years ago