Fixed return statement at types.d#L88

The return statement of the function is `bool`, but an `Atom` is being returned.