- Index
- »
- axon
- »
- func:toAxonCode
def
func:toAxonCode
toAxonCode(val)
Convert a scalar, list, or dict value to its Axon code representation. Examples:
toAxonCode(123) => "123" toAxonCode([1, 2, 3]) => "[1, 2, 3]" toAxonCode({x:123}) => "{x:123}"
Convert a scalar, list, or dict value to its Axon code representation. Examples:
toAxonCode(123) => "123" toAxonCode([1, 2, 3]) => "[1, 2, 3]" toAxonCode({x:123}) => "{x:123}"