[][src]Function voca_rs::query::is_blank

pub fn is_blank(subject: &str) -> bool

Checks whether subject is empty or contains only whitespaces.

Arguments

Example

use voca_rs::*;
query::is_blank("");
// => true
query::is_blank("   ");
// => true
query::is_blank("sun");
// => false
use voca_rs::Voca;
"   "._is_blank();
// => true