refactor(simulator): avoid branching in empty array helpers
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 24 Feb 2023 15:57:52 +0000 (16:57 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 24 Feb 2023 15:57:52 +0000 (16:57 +0100)
commit5d0b9ffc3224e4a1a0a00400580094afc2393715
treec099ca832b0c1c240ae948d0c0ebdc99f81c1f1c
parent15f47063f59a92596b78d86e0a163f491af88dee
refactor(simulator): avoid branching in empty array helpers

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/utils/Utils.ts