Skip to content

lt

Summary

Functional equivalent of a < b.

Tip

This is an operator function.

Examples

Keep numbers lower than 5:

1
2
filter(lt(5))([2,4,6,8]);
//=> [2,4]

Parameters

Name Type Description
a number
b number

Return

boolean

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