is_space
fn is_space(byte c) -> bool Import
Source: use ascii::{is_space}; src/ascii.hy True for ASCII space, tab, line feed, or carriage return.
Parameters#
| Name | Type |
|---|---|
c | byte |
Returns#
bool
See also#
is_digit: True for an ASCII decimal digit (0through9).is_hex: True for an ASCII hex digit (0-9,a-f,A-F).is_alpha: True for an ASCII letter (AthroughZorathroughz).is_alnum: True for an ASCII alphanumeric byte.is_print: True for an ASCII printable byte (space through tilde).is_ctrl: True for an ASCII control byte (below space, excluding DEL).to_lower: ASCII lower-case forA..=Z; other bytes unchanged.to_upper: ASCII upper-case fora..=z; other bytes unchanged.