(value: any)
| 135 | |
| 136 | // 轻量类型判断(替代 lodash) |
| 137 | export function isString(value: any): boolean { |
| 138 | return typeof value === "string"; |
| 139 | } |
| 140 | |
| 141 | export function isArray(value: any): boolean { |
| 142 | return Array.isArray(value); |
no outgoing calls
no test coverage detected