typeOf
Syntax
typeOf(value)Arguments
Examples
typeOf("") // "string"
typeOf(1) // "int"
typeOf(1.1) // "float"
typeOf(1f) // "float"
typeOf(true) // "bool"
typeOf(null) // "null"
typeOf([]) // "array"
typeOf({}) // "map"$ echo '{"value": 42}' | dasel -i json 'typeOf(value)'
intLast updated