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]),
}
The text was updated successfully, but these errors were encountered:
ghostsquad
changed the title
suggest to use ||| for readability
docs: suggest to use ||| for readability
Jul 15, 2020
might be useful to suggest to use
|||
syntax for readability of the description.The text was updated successfully, but these errors were encountered: