Fixed typos

This commit is contained in:
Vishal Shingala
2022-07-13 21:01:26 +05:30
parent 980ed3ff21
commit cf7444bf65

View File

@@ -63,7 +63,7 @@ function removeWordFromLastPosition(schemaPath, word) {
* "<integer>"
*
* @param {string} value - Value to check for
* @param {string} type - The type in the schemna
* @param {string} type - The type in the schema
* @returns {Boolean} the value is the representation of its type
*/
function compareType(value, type) {
@@ -75,7 +75,7 @@ function compareType(value, type) {
* "<integer>"
* Works in array types
* @param {string} value - Value to check for
* @param {*} types - The types in the schemna
* @param {*} types - The types in the schema
* @returns {Boolean} the value is the representation of its type
*/
function isTypeValueArrayCheck(value, types) {
@@ -89,7 +89,7 @@ function isTypeValueArrayCheck(value, types) {
* "<integer>"
* Works in array types
* @param {string} value - Value to check for
* @param {*} types - The types in the schemna
* @param {*} types - The types in the schema
* @returns {Boolean} the value is the representation of its type
*/
function checkValueOnlyTypes(value, types) {