From 642ce61e816f83d79089d82fa6ff1dedb448416e Mon Sep 17 00:00:00 2001 From: zugch <48787095+zugch@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:08:42 +0200 Subject: [PATCH] Update attribute.js Typos --- lib/attribute.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/attribute.js b/lib/attribute.js index 67f526a..cd88214 100644 --- a/lib/attribute.js +++ b/lib/attribute.js @@ -31,7 +31,7 @@ attribute.ignoreProperties = { var validators = attribute.validators = {}; /** - * Validates whether the instance if of a certain type + * Validates whether the instance is of a certain type * @param instance * @param schema * @param options @@ -947,7 +947,7 @@ validators['const'] = function validateEnum (instance, schema, options, ctx) { }; /** - * Validates whether the instance if of a prohibited type. + * Validates whether the instance is of a prohibited type. * @param instance * @param schema * @param options