(obj: any)
| 101 | } |
| 102 | |
| 103 | export function isObject(obj: any) { |
| 104 | const typename = typeof obj; |
| 105 | return ( |
| 106 | obj && |
| 107 | typename !== 'string' && |
| 108 | typename !== 'number' && |
| 109 | typename !== 'boolean' && |
| 110 | typename !== 'function' && |
| 111 | !Array.isArray(obj) |
| 112 | ); |
| 113 | } |
| 114 | |
| 115 | export function setVariable( |
| 116 | data: {[propName: string]: any}, |
no outgoing calls
no test coverage detected