is_hawk_tuah

Crates.iois_hawk_tuah
lib.rsis_hawk_tuah
version0.1.1
created_at2025-02-22 10:50:38.770814+00
updated_at2025-02-22 10:53:44.6554+00
descriptionCheck if the sentence contains Hawk Tuah
homepage
repositoryhttps://github.com/korewaChino/is_hawk_tuah
max_upload_size
id1565296
size5,054
Pornpipat Popum (korewaChino)

documentation

README

is_hawk_tuah

This Rust crate provides a single function, is_hawk_tuah, which checks if a string contains a hawk, followed by a too or a two.

Inspired by the Hailey Welch, and the legendary is-even library.

Usage

use is_hawk_tuah::is_hawk_tuah;

assert!(is_hawk_tuah("hawk too").unwrap());
assert!(is_hawk_tuah("hawk two").unwrap());
assert!(is_hawk_tuah("hawk to").unwrap());
assert!(is_hawk_tuah("hawk tuah").unwrap());
Commit count: 5

cargo fmt