Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Bohdan-Kim committed Feb 5, 2025
1 parent 0be85b1 commit a382664
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ internal class GBConditionEvaluator {
}

/**
* This accepts a parsed JSON object as input and returns true
* This accepts a GBJson as input and returns true
* if every key in the object starts with $
*/
fun isOperatorObject(obj: GBJson): Boolean {
Expand Down Expand Up @@ -216,9 +216,6 @@ internal class GBConditionEvaluator {
}

if (obj?.isPrimitiveValue() == true) {

// val primitiveValue = obj.jsonPrimitive

return when (obj) {
is GBString -> GBAttributeType.GbString
is GBBoolean -> GBAttributeType.GbBoolean
Expand Down

0 comments on commit a382664

Please sign in to comment.