W3cubDocs

/Nushell

dfr lit for expression

Creates a literal expression.

Signature

> dfr lit {flags} (literal)

Parameters

  • literal: literal to construct the expression

Input/output types:

input output
any any

Examples

Created a literal expression and converts it to a nu object

>dfr lit2|dfr into-nu
╭───────┬─────────╮
exprliteral
value2
╰───────┴─────────╯

Tips: Dataframe commands were not shipped in the official binaries by default, you have to build it with --features=dataframe flag

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/dfr_lit.html