apoc.convert.toBooleanList
Function APOC Core Deprecated
apoc.convert.toBooleanList(value) | tries it’s best to convert the value to a list of booleans
Usage Examples
Convert list of values to list of booleans
return apoc.convert.toBooleanList(["true", 0, 1.1]) AS output;
Output |
---|
[TRUE, FALSE, TRUE] |
This function has been deprecated and will be removed in version 5.0. This functionality is replaced by Neo4j’s |
Input | apoc.convert.toBooleanList() |
toBooleanList() |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ |
"not-a-list" |
|
Error |
{a:"map"} |
|
Error |
1. Use
toBooleanList(toIntegerList())
for this behavior in Neo4j