From d51082f84fe491bfc8e0674493cc6a8d3c2e6ca5 Mon Sep 17 00:00:00 2001 From: chee Date: Mon, 24 Feb 2020 18:15:19 +0000 Subject: [PATCH] Remove objectIncludes --- op1.control.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/op1.control.ts b/op1.control.ts index 549330c..afc48a1 100644 --- a/op1.control.ts +++ b/op1.control.ts @@ -5,16 +5,6 @@ host.loadAPI(10) host.load("./polyfill.io.js") -function objectIncludes (target: object, targetValue: string | number) { - for (let key in target) { - let value = targetValue[key] - if (value != null) { - return true - } - } - return false -} - type ValueOf = T[keyof T] enum Sequence {