dfr lit for expression

Creates a literal expression.

WARNING

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

Signature

> dfr lit {flags} (literal)

Parameters

  • literal: literal to construct the expression

Input/output types:

inputoutput
anyany

Examples

Created a literal expression and converts it to a nu object

> dfr lit 2 | dfr into-nu
╭───────┬─────────╮
 expr literal
 value 2
╰───────┴─────────╯