// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { compare } from "./compare.ts";
/**
 * Less than or equal to comparison
 *
 * This is equal to `compare(s0, s1) <= 0`.
 */ export function lessOrEqual(s0, s1) {
  return compare(s0, s1) <= 0;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImh0dHBzOi8vZGVuby5sYW5kL3N0ZEAwLjIxNy4wL3NlbXZlci9sZXNzX29yX2VxdWFsLnRzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIENvcHlyaWdodCAyMDE4LTIwMjQgdGhlIERlbm8gYXV0aG9ycy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4gTUlUIGxpY2Vuc2UuXG5pbXBvcnQgdHlwZSB7IFNlbVZlciB9IGZyb20gXCIuL3R5cGVzLnRzXCI7XG5pbXBvcnQgeyBjb21wYXJlIH0gZnJvbSBcIi4vY29tcGFyZS50c1wiO1xuXG4vKipcbiAqIExlc3MgdGhhbiBvciBlcXVhbCB0byBjb21wYXJpc29uXG4gKlxuICogVGhpcyBpcyBlcXVhbCB0byBgY29tcGFyZShzMCwgczEpIDw9IDBgLlxuICovXG5leHBvcnQgZnVuY3Rpb24gbGVzc09yRXF1YWwoczA6IFNlbVZlciwgczE6IFNlbVZlcik6IGJvb2xlYW4ge1xuICByZXR1cm4gY29tcGFyZShzMCwgczEpIDw9IDA7XG59XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsMEVBQTBFO0FBRTFFLFNBQVMsT0FBTyxRQUFRLGVBQWU7QUFFdkM7Ozs7Q0FJQyxHQUNELE9BQU8sU0FBUyxZQUFZLEVBQVUsRUFBRSxFQUFVO0VBQ2hELE9BQU8sUUFBUSxJQUFJLE9BQU87QUFDNUIifQ==