sizeOf ("Hello")
» 5
The size of a string is its length.
sizeOf ('a')
» 1
sizeOf ('bool')
» 4
sizeOf (clock.now ())
» 4
Objects whose datatype is 'date' always have a size of 4.
sizeOf (true)
» 2
boolean values always have a size of 2.
sizeOf (examples.funStuff)
» 6
examples.funStuff is a table, so sizeOf returns the number of items in it.
sizeOf ({1, 3, 5, 7})
» 4
The size of a list or record value is the number of items in it.