The table summarizes the conversion functions available in APL.

Function Name Description
dynamic_to_json Converts a scalar value of type dynamic to a canonical string representation.
ensure_field Ensures the existence of a field and returns its value or a typed nil if it doesn’t exist.
isbool Returns a value of true or false if the expression value is passed.
toarray Converts input to array.
tobool Converts input to boolean (signed 8-bit) representation.
todatetime Converts input to datetime scalar.
todouble Converts the input to a value of type real. todouble and toreal are synonyms.
todynamic Converts input to dynamic.
tohex Converts input to a hexadecimal string.
toint Converts the input to an integer value (signed 64-bit) number representation. toint and tolong are synonyms.
tolong Converts input to long (signed 64-bit) number representation. toint and tolong are synonyms.
toreal Converts the input to a value of type real. todouble and toreal are synonyms.
tostring Converts input to a string representation.
totimespan Converts input to timespan scalar.

Good evening

I'm here to help you with the docs.

I
AIBased on your context