nushell/crates/nu-command/src/strings/str_
Ian Manske 7e1b922ea7
Add functions for each Value case (#9736)
# Description
This PR ensures functions exist to extract and create each and every
`Value` case. It also renames `Value::boolean` to `Value::bool` to match
`Value::test_bool`, `Value::as_bool`, and `Value::Bool`. Similarly,
`Value::as_integer` was renamed to `Value::as_int` to be consistent with
`Value::int`, `Value::test_int`, and `Value::Int`. These two renames can
be undone if necessary.

# User-Facing Changes
No user facing changes, but two public functions were renamed which may
affect downstream dependents.
2023-07-21 08:20:33 -05:00
..
case Input output checking (#9680) 2023-07-14 15:20:35 +12:00
trim Input output checking (#9680) 2023-07-14 15:20:35 +12:00
contains.rs Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
distance.rs allow tables to have annotations (#9613) 2023-07-07 11:06:09 +02:00
ends_with.rs Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
expand.rs str-expand: new capability, empty collection item (#9750) 2023-07-20 18:51:25 -05:00
index_of.rs cratification: move the bytes command to nu-cmd-extra (#9509) 2023-06-23 12:23:08 -07:00
join.rs Input output checking (#9680) 2023-07-14 15:20:35 +12:00
length.rs Input output checking (#9680) 2023-07-14 15:20:35 +12:00
mod.rs A new subcommand to str, str-expand. (#9290) 2023-06-28 12:57:44 -05:00
replace.rs add more input_output_types found from breaking scripts (#9683) 2023-07-14 10:58:41 -05:00
reverse.rs Input output checking (#9680) 2023-07-14 15:20:35 +12:00
starts_with.rs Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
substring.rs Input output checking (#9680) 2023-07-14 15:20:35 +12:00