File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 77 * - represent class as <class SomeClass> or <instance of SomeClass>
88 */
99export 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-
1910 /**
2011 * Maximum string length
2112 */
@@ -37,6 +28,15 @@ export default class Sanitizer {
3728 */
3829 private static readonly maxArrayLength : number = 10 ;
3930
31+ /**
32+ * Check if passed variable is an object
33+ *
34+ * @param target - variable to check
35+ */
36+ public static isObject ( target : any ) : boolean {
37+ return Sanitizer . typeOf ( target ) === 'object' ;
38+ }
39+
4040 /**
4141 * Apply sanitizing for array/object/primitives
4242 *
You can’t perform that action at this time.
0 commit comments