Normalise any handle-list-like input into a plain array.
Priority order:
Convert()
FbMetadbHandleList
toArray()
Array
length
arguments
NodeList
Returns [] for unrecognised / falsy input.
[]
Normalise any handle-list-like input into a plain array.
Priority order:
Convert()is honoured first — fast path forFbMetadbHandleList.toArray()is honoured next for ad-hoc collection wrappers.Arrayshort-circuits.length(e.g.arguments/NodeList).Returns
[]for unrecognised / falsy input.