itee-validators 5.3.9 → 5.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/.czrc +6 -0
  2. package/CHANGELOG.md +20 -0
  3. package/builds/itee-validators.cjs.js +278 -277
  4. package/builds/itee-validators.cjs.js.map +1 -1
  5. package/builds/itee-validators.cjs.min.js +144 -144
  6. package/builds/itee-validators.esm.js +210 -205
  7. package/builds/itee-validators.esm.js.map +1 -1
  8. package/builds/itee-validators.esm.min.js +97 -97
  9. package/builds/itee-validators.iife.js +211 -207
  10. package/builds/itee-validators.iife.js.map +1 -1
  11. package/builds/itee-validators.iife.min.js +120 -120
  12. package/package.json +6 -10
  13. package/sources/cores/arrays/isArray.js +4 -4
  14. package/sources/cores/arrays/isArrayOfArray.js +2 -2
  15. package/sources/cores/arrays/isArrayOfBoolean.js +2 -2
  16. package/sources/cores/arrays/isArrayOfFunction.js +2 -2
  17. package/sources/cores/arrays/isArrayOfMultiElement.js +1 -1
  18. package/sources/cores/arrays/isArrayOfNull.js +2 -2
  19. package/sources/cores/arrays/isArrayOfNumber.js +2 -2
  20. package/sources/cores/arrays/isArrayOfObject.js +2 -2
  21. package/sources/cores/arrays/isArrayOfSingleElement.js +1 -1
  22. package/sources/cores/arrays/isArrayOfString.js +3 -3
  23. package/sources/cores/arrays/isArrayOfUndefined.js +2 -2
  24. package/sources/cores/arrays/isEmptyArray.js +2 -2
  25. package/sources/cores/booleans/isBoolean.js +4 -4
  26. package/sources/cores/booleans/isTrue.js +2 -2
  27. package/sources/cores/cores.js +91 -91
  28. package/sources/cores/functions/isFunction.js +2 -2
  29. package/sources/cores/numbers/isInfinite.js +13 -19
  30. package/sources/cores/numbers/isMax.js +2 -2
  31. package/sources/cores/numbers/isMin.js +2 -2
  32. package/sources/cores/numbers/isNumber.js +15 -15
  33. package/sources/cores/numbers/isSafeInteger.js +2 -2
  34. package/sources/cores/numbers/isZero.js +3 -3
  35. package/sources/cores/objects/isEmptyObject.js +2 -2
  36. package/sources/cores/objects/isObject.js +2 -2
  37. package/sources/cores/strings/isBlankString.js +2 -2
  38. package/sources/cores/strings/isEmptyString.js +2 -2
  39. package/sources/cores/strings/isString.js +7 -7
  40. package/sources/cores/symbols/isSymbol.js +2 -2
  41. package/sources/cores/tests/isTestUnitGenerator.js +10 -10
  42. package/sources/cores/typed-arrays/isArrayBuffer.js +2 -2
  43. package/sources/cores/typed-arrays/isBigInt64Array.js +2 -2
  44. package/sources/cores/typed-arrays/isBigUint64Array.js +2 -2
  45. package/sources/cores/typed-arrays/isFloat32Array.js +2 -2
  46. package/sources/cores/typed-arrays/isFloat64Array.js +2 -2
  47. package/sources/cores/typed-arrays/isInt16Array.js +2 -2
  48. package/sources/cores/typed-arrays/isInt32Array.js +2 -2
  49. package/sources/cores/typed-arrays/isInt8Array.js +2 -2
  50. package/sources/cores/typed-arrays/isUint16Array.js +2 -2
  51. package/sources/cores/typed-arrays/isUint32Array.js +2 -2
  52. package/sources/cores/typed-arrays/isUint8Array.js +2 -2
  53. package/sources/cores/typed-arrays/isUint8ClampedArray.js +2 -2
  54. package/sources/cores/voids/isDefined.js +2 -2
  55. package/sources/cores/voids/isEmpty.js +2 -2
  56. package/sources/cores/voids/isNull.js +3 -3
  57. package/sources/cores/voids/isUndefined.js +2 -2
  58. package/sources/dom/isEventTarget.js +2 -2
  59. package/sources/file-system/block-devices/isBlockDevicePath.js +9 -9
  60. package/sources/file-system/block-devices/isValidBlockDevicePath.js +2 -2
  61. package/sources/file-system/character-devices/isCharacterDevicePath.js +9 -9
  62. package/sources/file-system/character-devices/isValidCharacterDevicePath.js +2 -2
  63. package/sources/file-system/directories/isDirectoryPath.js +9 -9
  64. package/sources/file-system/directories/isEmptyDirectory.js +4 -4
  65. package/sources/file-system/directories/isValidDirectoryPath.js +2 -2
  66. package/sources/file-system/fifo-pipes/isFIFOPath.js +9 -9
  67. package/sources/file-system/fifo-pipes/isValidFIFOPath.js +2 -2
  68. package/sources/file-system/files/isEmptyFile.js +9 -9
  69. package/sources/file-system/files/isFilePath.js +9 -9
  70. package/sources/file-system/files/isValidFilePath.js +2 -2
  71. package/sources/file-system/paths/isValidPath.js +4 -4
  72. package/sources/file-system/sockets/isSocketPath.js +9 -9
  73. package/sources/file-system/sockets/isValidSocketPath.js +2 -2
  74. package/sources/file-system/symbolic-links/isSymbolicLinkPath.js +9 -9
  75. package/sources/file-system/symbolic-links/isValidSymbolicLinkPath.js +2 -2
  76. package/sources/itee-validators.js +1 -14
  77. package/sources/physics/temperatures/isCelsius.js +2 -2
  78. package/sources/physics/temperatures/isFahrenheit.js +2 -2
  79. package/sources/physics/temperatures/isKelvin.js +2 -2
  80. package/sources/physics/temperatures/isTemperature.js +2 -2
@@ -134,7 +134,7 @@ function n(n){return Array.isArray(n)}function r(n){return!Array.isArray(n)}
134
134
  * //...
135
135
  * }
136
136
  *
137
- */function N(n){return!r(n)&&n.length>1}
137
+ */function p(n){return!r(n)&&n.length>1}
138
138
  /**
139
139
  * @author [Tristan Valcke]{@link https://github.com/Itee}
140
140
  * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause}
@@ -151,7 +151,7 @@ function n(n){return Array.isArray(n)}function r(n){return!Array.isArray(n)}
151
151
  * //...
152
152
  * }
153
153
  *
154
- */function p(n){return null===n}function d(n){return null!==n}
154
+ */function N(n){return null===n}function d(n){return null!==n}
155
155
  /**
156
156
  * @author [Tristan Valcke]{@link https://github.com/Itee}
157
157
  * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause}
@@ -167,7 +167,7 @@ function n(n){return Array.isArray(n)}function r(n){return!Array.isArray(n)}
167
167
  * } else {
168
168
  * //...
169
169
  * } *
170
- */function b(n){if(r(n))return!1;if(t(n))return!1;for(let r=0,t=n.length;r<t;r++)if(d(n[r]))return!1;return!0}function g(n){if(r(n))return!0;if(t(n))return!0;for(let r=0,t=n.length;r<t;r++)if(d(n[r]))return!0;return!1}
170
+ */function g(n){if(r(n))return!1;if(t(n))return!1;for(let r=0,t=n.length;r<t;r++)if(d(n[r]))return!1;return!0}function b(n){if(r(n))return!0;if(t(n))return!0;for(let r=0,t=n.length;r<t;r++)if(d(n[r]))return!0;return!1}
171
171
  /**
172
172
  * @author [Tristan Valcke]{@link https://github.com/Itee}
173
173
  * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause}
@@ -201,7 +201,7 @@ function n(n){return Array.isArray(n)}function r(n){return!Array.isArray(n)}
201
201
  * //...
202
202
  * }
203
203
  *
204
- */function E(n){return!S(n)&&(!Number.isNaN(n)&&!Number.isFinite(n))}function m(n){return n===Number.NEGATIVE_INFINITY}function v(n){return n===Number.POSITIVE_INFINITY}function w(n){return Number.isFinite(n)}
204
+ */function E(n){return n===Number.NEGATIVE_INFINITY}function m(n){return n===Number.POSITIVE_INFINITY}function v(n){return E(n)||m(n)}function w(n){return Number.isFinite(n)}
205
205
  /**
206
206
  * @author [Tristan Valcke]{@link https://github.com/Itee}
207
207
  * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause}
@@ -218,7 +218,7 @@ function n(n){return Array.isArray(n)}function r(n){return!Array.isArray(n)}
218
218
  * //...
219
219
  * }
220
220
  *
221
- */function T(n){return 0===n}function V(n){return 0===n&&1/n===Number.POSITIVE_INFINITY}function F(n){return 0===n&&1/n===Number.NEGATIVE_INFINITY}
221
+ */function T(n){return 0===n}function V(n){return 0===n&&1/n===Number.POSITIVE_INFINITY}function _(n){return 0===n&&1/n===Number.NEGATIVE_INFINITY}
222
222
  /**
223
223
  * @author [Tristan Valcke]{@link https://github.com/Itee}
224
224
  * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause}
@@ -235,7 +235,7 @@ function n(n){return Array.isArray(n)}function r(n){return!Array.isArray(n)}
235
235
  * //...
236
236
  * }
237
237
  *
238
- */function _(n){return!A(n)&&n.constructor===Number}function U(n){return!S(n)&&(n>0||V(n)||v(n))}function $(n){return _(n)&&n<0}function S(n){return!_(n)}function M(n){return Number.isInteger(n)}function O(n){return!S(n)&&(!Number.isNaN(n)&&(!E(n)&&n%1!=0))}function j(n){return Number.isNaN(n)}
238
+ */function F(n){return!A(n)&&n.constructor===Number}function U(n){return!S(n)&&(n>0||V(n)||m(n))}function $(n){return F(n)&&n<0}function S(n){return!F(n)}function M(n){return Number.isInteger(n)}function O(n){return!S(n)&&(!Number.isNaN(n)&&(!v(n)&&n%1!=0))}function j(n){return Number.isNaN(n)}
239
239
  /**
240
240
  * @author [Tristan Valcke]{@link https://github.com/Itee}
241
241
  * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause}
@@ -524,7 +524,7 @@ function n(n){return Array.isArray(n)}function r(n){return!Array.isArray(n)}
524
524
  * //...
525
525
  * }
526
526
  *
527
- */function hn(n){return!A(n)&&(!!fn(n)||(!!t(n)||!!un(n)))}function Nn(n){return!hn(n)}
527
+ */function hn(n){return!A(n)&&(!!fn(n)||(!!t(n)||!!un(n)))}function pn(n){return!hn(n)}
528
528
  /**
529
529
  * @author [Tristan Valcke]{@link https://github.com/Itee}
530
530
  * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause}
@@ -539,117 +539,117 @@ function n(n){return Array.isArray(n)}function r(n){return!Array.isArray(n)}
539
539
  // Usefull when a simple data structure is used multiple times
540
540
  validator.add( 'ColorType', color => {
541
541
 
542
- const r = color.r
543
- if ( color.r === undefined || Itee.Validators.isNotNumber( r ) ) {
544
- return false
545
- }
542
+ const r = color.r
543
+ if ( color.r === undefined || Itee.Validators.isNotNumber( r ) ) {
544
+ return false
545
+ }
546
546
 
547
- const g = color.g
548
- if ( color.g === undefined || Itee.Validators.isNotNumber( g ) ) {
549
- return false
550
- }
547
+ const g = color.g
548
+ if ( color.g === undefined || Itee.Validators.isNotNumber( g ) ) {
549
+ return false
550
+ }
551
551
 
552
- const b = color.b
553
- if ( color.b === undefined || Itee.Validators.isNotNumber( b ) ) {
554
- return false
555
- }
552
+ const b = color.b
553
+ if ( color.b === undefined || Itee.Validators.isNotNumber( b ) ) {
554
+ return false
555
+ }
556
556
 
557
- return true
558
- } )
557
+ return true
558
+ } )
559
559
 
560
560
  // Using schema composition
561
561
  // Usefull for design validation schema faster and based on previous declared validation types
562
562
  validator.add( 'Range_0_255', ( value ) => {
563
563
 
564
- if ( Itee.Validators.isNotNumber( value ) ) {
565
- return false
566
- }
564
+ if ( Itee.Validators.isNotNumber( value ) ) {
565
+ return false
566
+ }
567
567
 
568
- return !(value <= 0 || value > 255)
568
+ return !(value <= 0 || value > 255)
569
569
 
570
- } )
570
+ } )
571
571
 
572
572
  validator.add( 'ColorSchema', {
573
- r: {
574
- required: true,
575
- type: 'Range_0_255'
576
- },
577
- g: {
578
- required: true,
579
- type: 'Range_0_255'
580
- },
581
- b: {
582
- required: true,
583
- type: 'Range_0_255'
584
- }
585
- } )
573
+ r: {
574
+ required: true,
575
+ type: 'Range_0_255'
576
+ },
577
+ g: {
578
+ required: true,
579
+ type: 'Range_0_255'
580
+ },
581
+ b: {
582
+ required: true,
583
+ type: 'Range_0_255'
584
+ }
585
+ } )
586
586
 
587
587
  validator.add( 'ColorStructure', {
588
- color_from_type: {
589
- type: 'ColorType'
590
- },
591
- col_from_schema: {
592
- type: 'ColorSchema'
593
- },
594
- col_from_fn: {
595
- // Inner function
596
- // Usefull for specific validation requirement that cannot match other previous validation schema or type
597
- fn: function ColorValidator ( color ) {
588
+ color_from_type: {
589
+ type: 'ColorType'
590
+ },
591
+ col_from_schema: {
592
+ type: 'ColorSchema'
593
+ },
594
+ col_from_fn: {
595
+ // Inner function
596
+ // Usefull for specific validation requirement that cannot match other previous validation schema or type
597
+ fn: function ColorValidator ( color ) {
598
598
 
599
- const r = color.r
600
- if ( color.r === undefined || Itee.Validators.isNotNumber( r ) ) {
601
- return false
602
- }
599
+ const r = color.r
600
+ if ( color.r === undefined || Itee.Validators.isNotNumber( r ) ) {
601
+ return false
602
+ }
603
603
 
604
- const g = color.g
605
- if ( color.g === undefined || Itee.Validators.isNotNumber( g ) ) {
606
- return false
607
- }
604
+ const g = color.g
605
+ if ( color.g === undefined || Itee.Validators.isNotNumber( g ) ) {
606
+ return false
607
+ }
608
608
 
609
- const b = color.b
610
- if ( color.b === undefined || Itee.Validators.isNotNumber( b ) ) {
611
- return false
612
- }
609
+ const b = color.b
610
+ if ( color.b === undefined || Itee.Validators.isNotNumber( b ) ) {
611
+ return false
612
+ }
613
613
 
614
- return true
615
- }
616
- }
617
- } )
614
+ return true
615
+ }
616
+ }
617
+ } )
618
618
 
619
619
  // The data to validate
620
620
  const colorStruct = {
621
- color_from_type: {
622
- r: 0,
623
- g: 1,
624
- b: 2
625
- },
626
- col_from_schema: {
627
- r: 10,
628
- g: 20,
629
- b: 30
630
- },
631
- col_from_fn: {
632
- r: 0,
633
- g: 127,
634
- b: 255
635
- }
636
- }
621
+ color_from_type: {
622
+ r: 0,
623
+ g: 1,
624
+ b: 2
625
+ },
626
+ col_from_schema: {
627
+ r: 10,
628
+ g: 20,
629
+ b: 30
630
+ },
631
+ col_from_fn: {
632
+ r: 0,
633
+ g: 127,
634
+ b: 255
635
+ }
636
+ }
637
637
 
638
638
  // Execute
639
639
 
640
640
  try {
641
641
 
642
- if ( validator.check( colorStruct, 'ColorStructure' ) ) {
643
- alert( 'ColorStructure is valid !' )
644
- } else {
645
- alert( validator.errors )
646
- }
642
+ if ( validator.check( colorStruct, 'ColorStructure' ) ) {
643
+ alert( 'ColorStructure is valid !' )
644
+ } else {
645
+ alert( validator.errors )
646
+ }
647
647
 
648
- } catch ( err ) {
649
- alert( err )
650
- }
648
+ } catch ( err ) {
649
+ alert( err )
650
+ }
651
651
  *
652
- */class pn{constructor(){this.validators={Boolean:o,Number:_,Integer:M,Float:O,Array:n,String:X,Object:G,Symbol:sn,Function:l},this.errors=[]}add(n,r){if(R(n))throw new TypeError("Validator: Expect type to be a string");if(s(r)&&L(r))throw new TypeError("Validator: Expect validator to be an object or a function");if(I(this.validators[n]))throw new TypeError(`Validator: a validator is already defined for type '${n}'`);this.validators[n]=r}remove(n){delete this.validators[n]}getAvalaibleTypes(){const n=[];for(let r in this.validators)n.push(r);return n}check(n,r,t=!0){const e=this.validators[r];if(A(e))throw new TypeError(`Validator: Unable to find schema validation of type '${r}'`);let u=!0;if(l(e))u=e(n);else{if(!G(e))throw new TypeError(`Validator: Unknown validator of type '${r}'`);{let i=!0;for(let o in e){const f=e[o];if(A(f))throw new TypeError(`Validator: Missing validator for key '${o}' of type '${r}'`);const c=n[o],a=f.required;if(A(c)){if(!a)continue;i=!1}let l=f.fn;if(I(l)){if(s(l))throw new TypeError(`Validator: Invalid validation function for '${o}' with type '${r}'`);i=l(c)}else i=this.check(c,f.type,t);if(!1===i&&(this.errors.push(`Validator: Invalid property '${o}' of type '${f.type}' with value '${c}' in object of type '${r}'`),u=!1,t))break}}}return u}}let dn;
652
+ */class Nn{constructor(){this.validators={Boolean:o,Number:F,Integer:M,Float:O,Array:n,String:X,Object:G,Symbol:sn,Function:l},this.errors=[]}add(n,r){if(R(n))throw new TypeError("Validator: Expect type to be a string");if(s(r)&&L(r))throw new TypeError("Validator: Expect validator to be an object or a function");if(I(this.validators[n]))throw new TypeError(`Validator: a validator is already defined for type '${n}'`);this.validators[n]=r}remove(n){delete this.validators[n]}getAvalaibleTypes(){const n=[];for(let r in this.validators)n.push(r);return n}check(n,r,t=!0){const e=this.validators[r];if(A(e))throw new TypeError(`Validator: Unable to find schema validation of type '${r}'`);let u=!0;if(l(e))u=e(n);else{if(!G(e))throw new TypeError(`Validator: Unknown validator of type '${r}'`);{let i=!0;for(let o in e){const f=e[o];if(A(f))throw new TypeError(`Validator: Missing validator for key '${o}' of type '${r}'`);const c=n[o],a=f.required;if(A(c)){if(!a)continue;i=!1}let l=f.fn;if(I(l)){if(s(l))throw new TypeError(`Validator: Invalid validation function for '${o}' with type '${r}'`);i=l(c)}else i=this.check(c,f.type,t);if(!1===i&&(this.errors.push(`Validator: Invalid property '${o}' of type '${f.type}' with value '${c}' in object of type '${r}'`),u=!1,t))break}}}return u}}let dn;
653
653
  /**
654
654
  * @author [Tristan Valcke]{@link https://github.com/Itee}
655
655
  * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause}
@@ -667,7 +667,7 @@ function n(n){return Array.isArray(n)}function r(n){return!Array.isArray(n)}
667
667
  * }
668
668
  *
669
669
  */
670
- function bn(n){return n instanceof ArrayBuffer}function gn(n){return!bn(n)}
670
+ function gn(n){return n instanceof ArrayBuffer}function bn(n){return!gn(n)}
671
671
  /**
672
672
  * @author [Tristan Valcke]{@link https://github.com/Itee}
673
673
  * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause}
@@ -752,7 +752,7 @@ function bn(n){return n instanceof ArrayBuffer}function gn(n){return!bn(n)}
752
752
  * //...
753
753
  * }
754
754
  *
755
- */function Fn(n){return n instanceof Int16Array}function _n(n){return!Fn(n)}
755
+ */function _n(n){return n instanceof Int16Array}function Fn(n){return!_n(n)}
756
756
  /**
757
757
  * @author [Tristan Valcke]{@link https://github.com/Itee}
758
758
  * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause}
@@ -862,7 +862,7 @@ function bn(n){return n instanceof ArrayBuffer}function gn(n){return!bn(n)}
862
862
  * @module sources/physics/constants
863
863
  * @desc Export constants about temperatures
864
864
  *
865
- */A(dn)&&(dn=new pn);const Pn=4.5e-10,Xn=-273.14999999955,Rn=-459.67;
865
+ */A(dn)&&(dn=new Nn);const Pn=4.5e-10,Xn=-273.14999999955,Rn=-459.67;
866
866
  /**
867
867
  * @author [Tristan Valcke]{@link https://github.com/Itee}
868
868
  * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause}
@@ -880,7 +880,7 @@ function bn(n){return n instanceof ArrayBuffer}function gn(n){return!bn(n)}
880
880
  * }
881
881
  *
882
882
  */
883
- function qn(n){return _(n)&&n>=-273.14999999955}function Cn(n){return!qn(n)}
883
+ function qn(n){return F(n)&&n>=-273.14999999955}function Cn(n){return!qn(n)}
884
884
  /**
885
885
  * @author [Tristan Valcke]{@link https://github.com/Itee}
886
886
  * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause}
@@ -897,7 +897,7 @@ function qn(n){return _(n)&&n>=-273.14999999955}function Cn(n){return!qn(n)}
897
897
  * //...
898
898
  * }
899
899
  *
900
- */function zn(n){return _(n)&&n>=-459.67}function Dn(n){return!zn(n)}
900
+ */function zn(n){return F(n)&&n>=-459.67}function Dn(n){return!zn(n)}
901
901
  /**
902
902
  * @author [Tristan Valcke]{@link https://github.com/Itee}
903
903
  * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause}
@@ -914,7 +914,7 @@ function qn(n){return _(n)&&n>=-273.14999999955}function Cn(n){return!qn(n)}
914
914
  * //...
915
915
  * }
916
916
  *
917
- */function Hn(n){return _(n)&&n>=4.5e-10}function Jn(n){return!Hn(n)}
917
+ */function Hn(n){return F(n)&&n>=4.5e-10}function Jn(n){return!Hn(n)}
918
918
  /**
919
919
  * @author [Tristan Valcke]{@link https://github.com/Itee}
920
920
  * @license [BSD-3-Clause]{@link https://opensource.org/licenses/BSD-3-Clause}
@@ -931,4 +931,4 @@ function qn(n){return _(n)&&n>=-273.14999999955}function Cn(n){return!qn(n)}
931
931
  * //...
932
932
  * }
933
933
  *
934
- */function Kn(n){return Hn(n)||qn(n)||zn(n)}function Qn(n){return Jn(n)&&Cn(n)&&Dn(n)}export{Xn as ABSOLUTE_ZERO_CELSIUS,Rn as ABSOLUTE_ZERO_FAHRENHEIT,Pn as ABSOLUTE_ZERO_KELVIN,dn as Validator,n as isArray,bn as isArrayBuffer,u as isArrayOfArray,c as isArrayOfBoolean,y as isArrayOfFunction,N as isArrayOfMultiElement,b as isArrayOfNull,k as isArrayOfNumber,Y as isArrayOfObject,P as isArrayOfSingleElement,q as isArrayOfString,H as isArrayOfUndefined,In as isBigInt64Array,En as isBigUint64Array,an as isBlankString,o as isBoolean,qn as isCelsius,I as isDefined,hn as isEmpty,t as isEmptyArray,un as isEmptyObject,fn as isEmptyString,zn as isFahrenheit,Q as isFalse,w as isFinite,O as isFloat,vn as isFloat32Array,Tn as isFloat64Array,l as isFunction,E as isInfinite,m as isInfiniteNegative,v as isInfinitePositive,Fn as isInt16Array,Un as isInt32Array,Sn as isInt8Array,M as isInteger,Hn as isKelvin,Z as isMaxNegative,W as isMaxPositive,tn as isMaxSafeInteger,rn as isMinNegative,nn as isMinPositive,en as isMinSafeInteger,j as isNaN,r as isNotArray,gn as isNotArrayBuffer,i as isNotArrayOfArray,a as isNotArrayOfBoolean,h as isNotArrayOfFunction,g as isNotArrayOfNull,B as isNotArrayOfNumber,x as isNotArrayOfObject,C as isNotArrayOfString,J as isNotArrayOfUndefined,An as isNotBigInt64Array,mn as isNotBigUint64Array,ln as isNotBlankString,f as isNotBoolean,Cn as isNotCelsius,A as isNotDefined,Nn as isNotEmpty,e as isNotEmptyArray,on as isNotEmptyObject,cn as isNotEmptyString,Dn as isNotFahrenheit,wn as isNotFloat32Array,Vn as isNotFloat64Array,s as isNotFunction,_n as isNotInt16Array,$n as isNotInt32Array,Mn as isNotInt8Array,Jn as isNotKelvin,d as isNotNull,S as isNotNumber,L as isNotObject,R as isNotString,yn as isNotSymbol,Qn as isNotTemperature,jn as isNotUint16Array,Bn as isNotUint32Array,Ln as isNotUint8Array,xn as isNotUint8ClampedArray,D as isNotUndefined,p as isNull,_ as isNumber,$ as isNumberNegative,U as isNumberPositive,G as isObject,X as isString,sn as isSymbol,Kn as isTemperature,K as isTrue,On as isUint16Array,kn as isUint32Array,Gn as isUint8Array,Yn as isUint8ClampedArray,z as isUndefined,T as isZero,F as isZeroNegative,V as isZeroPositive};
934
+ */function Kn(n){return Hn(n)||qn(n)||zn(n)}function Qn(n){return Jn(n)&&Cn(n)&&Dn(n)}export{Xn as ABSOLUTE_ZERO_CELSIUS,Rn as ABSOLUTE_ZERO_FAHRENHEIT,Pn as ABSOLUTE_ZERO_KELVIN,dn as Validator,n as isArray,gn as isArrayBuffer,u as isArrayOfArray,c as isArrayOfBoolean,y as isArrayOfFunction,p as isArrayOfMultiElement,g as isArrayOfNull,k as isArrayOfNumber,Y as isArrayOfObject,P as isArrayOfSingleElement,q as isArrayOfString,H as isArrayOfUndefined,In as isBigInt64Array,En as isBigUint64Array,an as isBlankString,o as isBoolean,qn as isCelsius,I as isDefined,hn as isEmpty,t as isEmptyArray,un as isEmptyObject,fn as isEmptyString,zn as isFahrenheit,Q as isFalse,w as isFinite,O as isFloat,vn as isFloat32Array,Tn as isFloat64Array,l as isFunction,v as isInfinite,E as isInfiniteNegative,m as isInfinitePositive,_n as isInt16Array,Un as isInt32Array,Sn as isInt8Array,M as isInteger,Hn as isKelvin,Z as isMaxNegative,W as isMaxPositive,tn as isMaxSafeInteger,rn as isMinNegative,nn as isMinPositive,en as isMinSafeInteger,j as isNaN,r as isNotArray,bn as isNotArrayBuffer,i as isNotArrayOfArray,a as isNotArrayOfBoolean,h as isNotArrayOfFunction,b as isNotArrayOfNull,B as isNotArrayOfNumber,x as isNotArrayOfObject,C as isNotArrayOfString,J as isNotArrayOfUndefined,An as isNotBigInt64Array,mn as isNotBigUint64Array,ln as isNotBlankString,f as isNotBoolean,Cn as isNotCelsius,A as isNotDefined,pn as isNotEmpty,e as isNotEmptyArray,on as isNotEmptyObject,cn as isNotEmptyString,Dn as isNotFahrenheit,wn as isNotFloat32Array,Vn as isNotFloat64Array,s as isNotFunction,Fn as isNotInt16Array,$n as isNotInt32Array,Mn as isNotInt8Array,Jn as isNotKelvin,d as isNotNull,S as isNotNumber,L as isNotObject,R as isNotString,yn as isNotSymbol,Qn as isNotTemperature,jn as isNotUint16Array,Bn as isNotUint32Array,Ln as isNotUint8Array,xn as isNotUint8ClampedArray,D as isNotUndefined,N as isNull,F as isNumber,$ as isNumberNegative,U as isNumberPositive,G as isObject,X as isString,sn as isSymbol,Kn as isTemperature,K as isTrue,On as isUint16Array,kn as isUint32Array,Gn as isUint8Array,Yn as isUint8ClampedArray,z as isUndefined,T as isZero,_ as isZeroNegative,V as isZeroPositive};