Skip to content

Commit

Permalink
Merge pull request #1413 from MitrahSoft/_isSimpleValue()
Browse files Browse the repository at this point in the history
Updated the correct example for the issimplevalue() function.
  • Loading branch information
zspitzer authored Dec 12, 2023
2 parents 842eb7b + eeffdfa commit d470ecc
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions docs/03.reference/01.functions/issimplevalue/_examples.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
```luceescript+trycf
qry = QueryNew("name", "varchar", []);
writedump(label:"Query is empty", var:qry.isEmpty());
arr=[];
public boolean function isEmpty1() {
return arr.isEmpty();
}
writeDump(label:"Array is empty", var:isEmpty1());
writeOutput( isSimpleValue("string") & "<br>" );
writeOutput( isSimpleValue(123456) & "<br>" );
writeOutput( isSimpleValue(getTimezone()) & "<br>" );
writeOutput( isSimpleValue(now()) & "<br>" );
writeOutput( isSimpleValue(javacast("char","A")) & "<br>" );
writeOutput( isSimpleValue(nullValue()) & "<br>" );
writeOutput( isSimpleValue([]) & "<br>" );
writeOutput( isSimpleValue({}) & "<br>" );
writeOutput( isSimpleValue(queryNew("test")) );
```

0 comments on commit d470ecc

Please sign in to comment.