Skip to content

@loontail/minecraft-kit v0.8.14 / stripUuidDashes

Function: stripUuidDashes()

ts
function stripUuidDashes(uuid): string

Strip the dashes from a UUID. Used by ${auth_uuid}.

Parameters

ParameterType
uuidstring

Returns

string

Example

ts
import { stripUuidDashes } from "@loontail/minecraft-kit";

stripUuidDashes("069a79f4-44e9-4726-a5be-fca90e38aaf5");
// → "069a79f444e94726a5befca90e38aaf5"

Source

src/core/uuid.ts:74

MIT License