Delete never-completed map-tree package

feature/node-rewrite
Sven Slootweg 1 year ago
parent da472314dc
commit c3af4706b8

@ -1,18 +0,0 @@
"use strict";
// FIXME: Finish this later
const { validateArguments } = require("@validatem/core");
const isString = require("@validatem/is-string");
const isFunction = require("@validatem/is-function");
const required = require("@validatem/required");
module.exports = function mapTree(tree, predicate, childrenProperty) {
validateArguments(arguments, {
tree: [ required ],
predicate: [ required, isFunction ],
childrenProperty: [ isString ]
});
};
Loading…
Cancel
Save