From 1732e6140696f6d226d3c99bbf9529f828f72770 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 7 Feb 2023 23:15:56 +0100 Subject: [PATCH] refactor(simulator): remove unneeded ternary operator MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/utils/Utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index 43389155..34ace09c 100644 --- a/src/utils/Utils.ts +++ b/src/utils/Utils.ts @@ -209,7 +209,7 @@ export default class Utils { public static isNullOrUndefined(value: unknown): boolean { // eslint-disable-next-line eqeqeq, no-eq-null - return value == null ? true : false; + return value == null; } public static isEmptyArray(object: unknown | unknown[]): boolean { -- 2.34.1