We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8152f47 commit c78cc26Copy full SHA for c78cc26
1 file changed
src/modules/sanitizer.ts
@@ -7,15 +7,6 @@
7
* - represent class as <class SomeClass> or <instance of SomeClass>
8
*/
9
export default class Sanitizer {
10
- /**
11
- * Check if passed variable is an object
12
- *
13
- * @param target - variable to check
14
- */
15
- public static isObject(target: any): boolean {
16
- return Sanitizer.typeOf(target) === 'object';
17
- }
18
-
19
/**
20
* Maximum string length
21
@@ -37,6 +28,15 @@ export default class Sanitizer {
37
28
38
29
private static readonly maxArrayLength: number = 10;
39
30
31
+ /**
32
+ * Check if passed variable is an object
33
+ *
34
+ * @param target - variable to check
35
+ */
36
+ public static isObject(target: any): boolean {
+ return Sanitizer.typeOf(target) === 'object';
+ }
+
40
41
* Apply sanitizing for array/object/primitives
42
*
0 commit comments