<= multimethod
Methods
- <=(a:Real, b:Real)
Less-than-or-equal comparison
- <=(a:Int, b:Int)
Less-than-or-equal comparison
- <=(a:Set, b:Set) Source: stdlib.ngs:1760
Check whether all values in a are also in b
- <=(t:Type, maybe_supertype:Type) Source: stdlib.ngs:1974
Check whether t is maybe_supertype or its subtype Note that if t and maybe_supertype are same type, this method also returns true. Returns
BoolExample
Lines <= Eachable1 # true Eachable <= Lines # false
- <=(a:Arr, b:Arr) Source: stdlib.ngs:2509
Compare arrays, element-wise. If all elements are equal, the longest array considered to be the "big" one. Returns
BoolExample
[1, 2] <= [1, 3] # true [1] <= [1, 2] # true
- <=(a:Str, b:Str) Source: stdlib.ngs:4551
Case sensitive LessThan or Equal comparison for strings Returns
Bool
- <=(a:Time, b:Time) Source: stdlib.ngs:7644
Undocumented