isNil
import { isNil } from "jsr:@ende/uuid";function
function isNil(id: string): booleanDetermines whether the UUID is the nil UUID.
id: stringUUID value.
Returns
true if the UUID is the nil UUID, otherwise false.
Example: Usage
import { isNil } from "@ende/uuid";
import { assert, assertFalse } from "@ende/assert";
assert(isNil("00000000-0000-0000-0000-000000000000"));
assertFalse(isNil(crypto.randomUUID()));