enlist#

swordfish.function.enlist()#

If X is a scalar, returns a vector.

If X is a dictionary:

  • When the keys are strings, it returns a single-row table.

  • When the keys are non-strings, it returns a tuple.

If X is a vector, tuple or of other data forms, returns a tuple.

Parameters:

X (Constant) – Can be of any data form.