Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/s3si/deps.ts>uuid.isNil

Export your battles from SplatNet to stat.ink
Go to Latest
function uuid.isNil
import { uuid } from "https://deno.land/x/s3si@v0.1.8/deps.ts";
const { isNil } = uuid;

Check if the passed UUID is the nil UUID.

import { isNil } from "https://deno.land/std@0.224.0/uuid/mod.ts";

isNil("00000000-0000-0000-0000-000000000000") // true
isNil(crypto.randomUUID()) // false

Parameters

id: string

Returns

boolean