UNPKG

288 BJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports.hexists = hexists;
7function hexists(key, field) {
8 var hash = this.data.get(key);
9 if (!hash || hash[field] === undefined) {
10 return 0;
11 }
12 return {}.hasOwnProperty.call(hash, field) ? 1 : 0;
13}
\No newline at end of file