quoted

@get:JvmName(name = "quotedOrNull")
val String?.quoted: String?

Add quotes to this string, if not present. Will do nothing to nulls.

Will turn :

  • foo ->"foo",

  • "foo" ->"foo" (no change)

  • null ->null (no change)


Add quotes to this string, if not present.

Will turn :

  • foo ->"foo",

  • "foo" ->"foo" (no change)