You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
might be useful to suggest to use ||| syntax for readability of the description.
{
'#array': d.fn(
|||
`array` takes a single argument of any type.
If it is an array, it returns it, otherwise it is wrapped in an array.
|||,
[d.arg('x', d.T.any)]),
array(x):: (if std.type(x) == "array" then x else [x]),
}