Registry / utility / nu-value-ext

nu-value-ext

JSON →
library0.44.0rscratesunverified

Extension traits for values in Nushell, providing additional methods for Value types.

# Cargo.toml [dependencies] nu-value-ext = "0.44.0"
INSTALL
IMPORT
SIG · NU-VALUE-EXT
N
nu-value-ext
utilityrustv0.44.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ValueExt
use nu_value_ext::ValueExt;

Uses ValueExt to convert a Value to an i64.

use nu_value_ext::ValueExt; use nu_protocol::Value; let val = Value::Int(42); let result = val.as_i64().unwrap(); println!("{}", result);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.44.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
nu-value-ext — cargo add nu-value-ext · libregistry