Returns whether a UTF‐16 code unit lies in the Basic Multilingual Plane.

Synopsis

Declared in <folly/Unicode.h>

bool
utf16_code_unit_is_bmp(char16_t const c);

Return Value

True when the code unit is a BMP code point.

Parameters

Name

Description

c

The UTF‐16 code unit to test.

Created with MrDocs