D
D
Dasel
v2
Search
⌃
K
Introduction
GitHub
Supported file formats
Memory usage
Installation
Commands
Select
Put
Delete
Functions
Selector Overview
All
And
Append
Count
Equal
Filter
FilterOr
First
Index
Join
Key
Keys
Last
Len
LessThan
MapOf
Merge
MoreThan
Not
Or
Parent
Property
String
This
Type
Examples
Basics
Change file format
Filtering objects based on present/missing key
Powered By
GitBook
Type
Accepts no arguments.
Returns the type of the current value.
Possible return values are:
string
number
bool
array
object
unknown
Examples
This
$ echo '[
"x",
false,
true,
1,
1.1,
{"x":1},
[1]
]' | dasel -r json 'all().type()'
"string"
"bool"
"bool"
"number"
"number"
"object"
"array"
Functions - Previous
This
Next - Examples
Basics
Last modified
9mo ago