boolean
3 boolean types: none a sibling also accepts, 1 in Meridian's open data.
The 3 boolean types
Each type's first registry sample, against every sibling's rule
| Type | Sample | Also accepted by |
|---|---|---|
Binary Boolean (0/1) binary · BOOLEAN | 0 | — |
Boolean Initials (T/F, Y/N) initials · BOOLEAN | T | — |
Boolean Terms (True/False, Yes/No) terms · BOOLEAN | true | — |
Which boolean type is it?
Binary Boolean (0/1), Boolean Initials (T/F, Y/N) and Boolean Terms (True/False, Yes/No) carry no pattern or format, so they have no rule to ask.
In Meridian's open data
- Boolean Terms (True/False, Yes/No)gleif
.entity_status
Use it
CLI · DuckDB
$ printf '%s\n' '0' '1' > column.txt
$ finetype infer -f column.txt --mode column
SELECT ft_profile(v) FROM (VALUES ('0'), ('1')) t(v);No boolean type's rule accepts 1.