<= multimethod

Methods

<=(a:Real, b:Real)
Less-than-or-equal comparison
<=(a:Int, b:Int)
Less-than-or-equal comparison
<=(a:Arr, b:Arr) Source: stdlib.ngs:1660
Compare arrays, elemt-wise. If all elements are equal, the longest array considered to be the "big" one.

Returns

Bool

Example

 [1, 2] <= [1, 3]  # true
 [1] <= [1, 2]     # true
<=(a:Str, b:Str) Source: stdlib.ngs:3572
Case sensitive LessThan or Equal comparison for strings

Returns

Bool
<=(a:Set, b:Set) Source: autoload/Set.ngs:58
Check whether all values in a are also in b