Skip to content

Commit

Permalink
Adds missing asUuidValue() function.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppanopticon committed Dec 7, 2023
1 parent ab5f36b commit 3836157
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ interface Tuple {
fun asDoubleVector(name: String): DoubleArray? = asDoubleVectorValue(indexOf(name))?.data
fun asStringValue(index: Int): StringValue? = this[index] as? StringValue
fun asStringValue(name: String): StringValue? = this.asStringValue(indexOf(name))
fun asUuidValue(index: Int): UuidValue? = this[index] as? UuidValue
fun asUuidValue(name: String): UuidValue? = this.asUuidValue(indexOf(name))
fun asString(index: Int): String? = this.asStringValue(index)?.value
fun asString(name: String): String? = this.asStringValue(indexOf(name))?.value
fun asDateValue(index: Int): DateValue? = this[index] as? DateValue
Expand Down

0 comments on commit 3836157

Please sign in to comment.