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 rsh object

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

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