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 (April '19) |

Featured Mods (random) |

Agauptera-class yacht |

Worst Case Scenario |

Quality Mods (random) |

Uncharted |

Brigand Playership for PSD6+ |

Balanced Mods (random) |

Stalwart-class gunship |

Northwind Equipment Pack for 1.0 |