nushell/crates/nu-command/src/strings
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
..
encode_decode REFACTOR: move the 0% commands to nu-cmd-extra (#9404) 2023-07-06 08:31:31 -07:00
split Input output checking (#9680) 2023-07-14 15:20:35 +12:00
str_ Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
char_.rs Revert numberlike parsing restriction (#8845) 2023-04-12 05:21:31 +12:00
detect_columns.rs add the ability to combine columns with detect columns (#9511) 2023-06-23 16:19:08 -05:00
mod.rs REFACTOR: move the 0% commands to nu-cmd-extra (#9404) 2023-07-06 08:31:31 -07:00
parse.rs Input output checking (#9680) 2023-07-14 15:20:35 +12:00
size.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00