nushell/crates/nu-engine/src
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
..
call_ext.rs Allow NU_LIBS_DIR and friends to be const (#8538) 2023-04-05 19:56:48 +03:00
column.rs revert: move to ahash (#9464) 2023-06-18 15:27:57 +12:00
documentation.rs Change input/output types in help to a table (#9686) 2023-07-15 06:23:21 +12:00
env.rs Fix broken constants in scopes (#9679) 2023-07-14 00:02:05 +03:00
eval.rs Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
glob_from.rs allow paths to have brackets (#9416) 2023-06-13 07:30:10 -05:00
lib.rs split $nu variable into scope commands and simpler $nu (#9487) 2023-06-21 09:33:01 +12:00
scope.rs Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00