Skip to content

Commit c398a0d

Browse files
authored
Fix a copy-paste (?) error
1 parent 14f6f49 commit c398a0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/yyjson.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,7 @@ yyjson_api_inline const char *yyjson_get_type_desc(yyjson_val *val);
17731773
yyjson_api_inline const char *yyjson_get_raw(yyjson_val *val);
17741774

17751775
/** Returns the content if the value is bool.
1776-
Returns NULL if `val` is NULL or type is not bool. */
1776+
Returns false if `val` is NULL or type is not bool. */
17771777
yyjson_api_inline bool yyjson_get_bool(yyjson_val *val);
17781778

17791779
/** Returns the content and cast to uint64_t.

0 commit comments

Comments
 (0)