Functions Documentation | |

Name | leq |

Syntax | (leq a [b ... bn]) -> True if a <= b <= bn |

Argument List | a: The first expression you want to compare. [b ... bn]: The next expressions you want to compare. |

Returns | boolean: The expressions are compared left to right. If there is any case where the left value is "greater" than the right value, `leq' will return Nil. Else it returns True. |

Category | logical operator |

Description | A comparison function that returns True if the left hand side is less than or equal to the right hand side. The same as <= in math. Integers are compared by value, so (leq 1 1) -> True, but (leq 2 1) -> Nil Strings are compared by alphabetical position, so (leq "a" "A") -> True, but (leq "b" "A") -> Nil Lists are compared by length, so (leq '(2) '(1 1)) -> True, but (leq '(1 1) '(2)) -> Nil |

Example |
(leq 7 3)Returns Nil. (leq "Betel" "Betelgeuse")Returns True. (leq '(a a b) '(c d e))Returns True. (leq "B" "b") Returns True. |

Comment |

Mod of the Month (July '17) |

Featured Mods (random) |

Captain's Log 3.1 |

Gravity |

Quality Mods (random) |

Weapons Icons/ The more Dakka mod |

Lego ship yellowjacket |

Balanced Mods (random) |

Item repair framework |

Brigand Playership for PSD6+ |