You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
388 B
JavaScript
15 lines
388 B
JavaScript
"use strict";
|
|
|
|
const isPlainObject = require("@validatem/is-plain-object");
|
|
|
|
// FIXME: Below currently does not support validating for special Validatem objects, need a validator for that
|
|
// let isContextSchema = anyProperty({
|
|
// key: [ required, isString ],
|
|
// value: [ required, either([
|
|
// isFunction,
|
|
// nestedArrayOf(isFunction)
|
|
// ])]
|
|
// });
|
|
|
|
module.exports = isPlainObject;
|