literal?

checks if given value is of type :literal


Parameters

literal? value :any

Returns

  • :logical

Examples

copy
print literal? 'x ; true print literal? "x" ; false print literal? 123 ; false

Related