- itsm/ -> workspace/guardia-itsm/ - manager/ -> workspace/guardia-manager/ - app/ -> workspace/guardia-messenger/ - manual/ -> workspace/guardia-docs/ workspace/zioinfo-web/ unchanged. git mv preserves full commit history. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 lines
242 B
JavaScript
8 lines
242 B
JavaScript
export var slice = Array.prototype.slice;
|
|
|
|
export default function(x) {
|
|
return typeof x === "object" && "length" in x
|
|
? x // Array, TypedArray, NodeList, array-like
|
|
: Array.from(x); // Map, Set, iterable, string, or anything else
|
|
}
|