Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function greaterThan
import { greaterThan } from "https://deno.land/std@0.216.0/semver/greater_than.ts";

Greater than comparison

This is equal to compare(s0, s1) > 0.

Returns

boolean