UNPKG

@ozen-ui/kit

Version:

React component library

9 lines (8 loc) 346 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isObjectAllowInfo = void 0; var object_1 = require("../../../utils/object"); var isObjectAllowInfo = function (value) { return (0, object_1.isPlainObject)(value) && 'isAllow' in value && 'message' in value; }; exports.isObjectAllowInfo = isObjectAllowInfo;