Skip to content

Commit

Permalink
Nit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0marperez committed Oct 2, 2023
1 parent b643d07 commit 3bad411
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public fun Any?.type(): String = when (this) {
is String -> "string"
is Boolean -> "boolean"
is List<*>, is Array<*> -> "array"
is Short, is Int, is Long, is Float, is Double -> "number"
is Number -> "number"
is Any -> "object"
null -> "null"
else -> throw Exception("Undetected type for: $this")
Expand Down

0 comments on commit 3bad411

Please sign in to comment.