Skip to content

and

Summary

Functional equivalent of a && b but works with logical truth instead of truthy.

Tip

This is an operator function.

Examples

1
2
map(and(42))([0, 1, false]);
//=> [42, 42, false]

Parameters

Name Type Description
a ?
b ?

Return

?

AltStyle によって変換されたページ (->オリジナル) /