and ()
and
(
x
)
:
(
(
y
)
=>
boolean
)
Logical AND of two boolean values.
Parameters
x
:
boolean
Returns
(
(
y
)
=>
boolean
)
(
y
)
:
boolean
Parameters
y
:
boolean
Returns
boolean
Example
and
(
true
)(
false
)
// false
and
(
true
)(
true
)
// true
Back to index
Logical AND of two boolean values.