UNPKG

userface

Version:

Universal Data-Driven UI Engine with live data, validation, and multi-platform support

11 lines (10 loc) 327 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.validateUserFace = validateUserFace; // Валидация function validateUserFace(spec) { return (typeof spec === 'object' && spec !== null && typeof spec.component === 'string' && spec.component.length > 0); }