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 (November '17) |

Featured Mods (random) |

Uncharted |

The Network |

Quality Mods (random) |

Dealer Stations |

Northwind Devices for Transcendence 1.1 beta (1.08b minimum) |

Balanced Mods (random) |

"PDmod" ICX Overhaul |

Northwind Equipment Pack for 1.0 |