UNPKG

@natlibfi/melinda-record-match-validator

Version:

Validates if two records matched by melinda-record-matching can be merged and sets merge priority

13 lines (12 loc) 293 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isValidValue = isValidValue; function isValidValue(value, arrayOfValidValues) { if (arrayOfValidValues.includes(value)) { return value; } return false; } //# sourceMappingURL=validateUtils.js.map