MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / random

Function random

packages/utilities/src/string.ts:21–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19}
20
21export function random(): string {
22 return (Math.random() * 100000000000).toString();
23}
24
25export const capitalize = (string: string) => {
26 return string.charAt(0).toUpperCase() + string.slice(1);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected