UNPKG

near-protocol-rewards

Version:

A transparent, metric-based rewards system for NEAR projects

8 lines (7 loc) 287 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isValidationError = void 0; function isValidationError(obj) { return (typeof obj === "object" && obj !== null && "code" in obj && "message" in obj); } exports.isValidationError = isValidationError;