UNPKG

@webdocgroup/realm-migrations

Version:
13 lines (12 loc) 294 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.enabled = void 0; const enabled = ({ enabled, }) => { return (props, next) => { if (!enabled) { return false; } return next(props); }; }; exports.enabled = enabled;