fnByteLength function

dynamic fnByteLength(
  1. dynamic value
)

ByteLength(str): the string's UTF-8 byte length

Implementation

dynamic fnByteLength(dynamic value) => utf8.encode(varToStr(value)).length;