Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Author

       MongoDB, Inc

Description

       A safer alternative to isspace with additional bounds checking.

       It is equivalent to isspace, excepts always returns false if c is out of the inclusive bounds [-1, 255].

Parameters

c: A character.

Returns

       A boolean indicating if the c is considered white-space (as determined by the isspace function).

Synopsis

          bool
          bson_isspace (int c);

See Also