Check `type` and `value` for null