Skip to content

Commit

Permalink
Merge pull request #8 from skilesare/main
Browse files Browse the repository at this point in the history
add propertyToText
  • Loading branch information
skilesare committed May 11, 2022
2 parents 5de9bef + 76a00d3 commit 936bdd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/conversion.mo
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,8 @@ module {
num;
};

public func propertyToText(a:Types.Property):Text{valueToText(a.value)};

public func valueToProperties(val : CandyValue) : Types.Properties {
switch(val){
case(#Class(val)){ val};
Expand Down

0 comments on commit 936bdd4

Please sign in to comment.