{"id":58020,"library":"funty","title":"Funty","description":"Trait generalization over the primitive types, enabling generic numeric programming.","status":"active","version":"2.0.0","language":"rust","source_language":null,"source_url":"https://github.com/ferrilab/ferrilab","tags":["traits","primitives","generic","numeric"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nfunty = \"2.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add funty","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"IsInteger","correct":"use funty::IsInteger;"}],"quickstart":{"code":"use funty::IsInteger;\n\nfn is_integer<T: IsInteger>(val: T) -> bool {\n    val.is_integer()\n}\n\nfn main() {\n    println!(\"Is 42 integer? {}\", is_integer(42u32));\n}","lang":"rust","description":"Using the IsInteger trait to check if a value is an integer."},"warnings":[],"env_vars":null,"search_vec":"'enabl':8 'funti':1 'general':3 'generic':9,14 'numer':10,15 'primit':6,13 'program':11 'trait':2,12 'type':7","created_at":"2026-06-16T16:08:08.894876+00:00","updated_at":"2026-06-16T16:08:08.894876+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://ferrilab.github.io/ferrilab","github":"https://github.com/ferrilab/ferrilab","docs":"https://docs.rs/funty/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}