( val: object, key: string | symbol, )
| 32 | |
| 33 | const hasOwnProperty = Object.prototype.hasOwnProperty |
| 34 | export const hasOwn = ( |
| 35 | val: object, |
| 36 | key: string | symbol, |
| 37 | ): key is keyof typeof val => hasOwnProperty.call(val, key) |
| 38 | |
| 39 | export const isArray: typeof Array.isArray = Array.isArray |
| 40 | export const isMap = (val: unknown): val is Map<any, any> => |
no outgoing calls
no test coverage detected