| 3216 | } |
| 3217 | |
| 3218 | bool is_string() const noexcept |
| 3219 | { |
| 3220 | if (is_string_storage(storage_kind())) |
| 3221 | { |
| 3222 | return true; |
| 3223 | } |
| 3224 | if (storage_kind() == json_storage_kind::const_json_ref) |
| 3225 | { |
| 3226 | return cast<const_json_ref_storage>().value().is_string(); |
| 3227 | } |
| 3228 | if (storage_kind() == json_storage_kind::json_ref) |
| 3229 | { |
| 3230 | return cast<const_json_ref_storage>().value().is_string(); |
| 3231 | } |
| 3232 | return false; |
| 3233 | } |
| 3234 | |
| 3235 | bool is_string_view() const noexcept |
| 3236 | { |
no test coverage detected