Interesting. Does this work? Javascript isn't very consistent with how it maps types to the Int, String, etc. classes. For example, `"foo" instanceof String` returns false. I usually do `typeof result === 'string'`