toLongArray

Returns element as a LongArray, converting scalar types when possible.

Return

element as LongArray or empty LongArray if fail.