We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
booleanFormat
1 parent 9dc52b6 commit c823213Copy full SHA for c823213
models/Casts/BooleanCast.cfc
@@ -14,7 +14,7 @@ component singleton {
14
required string key,
15
any value
16
) {
17
- return isNull( arguments.value ) ? false : booleanFormat( arguments.value );
+ return isNull( arguments.value ) ? false : !!arguments.value;
18
}
19
20
/**
0 commit comments