(x: any)
| 23 | // POSSIBILITY OF SUCH DAMAGE. |
| 24 | |
| 25 | export function isString(x: any): x is string { |
| 26 | return typeof x === 'string' || x instanceof String; |
| 27 | } |
| 28 | |
| 29 | // Object.keys is typed as returning :string[] for some reason |
| 30 | // This util is for cases where the key is a union of a few possible keys and we |
no outgoing calls
no test coverage detected