MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / randomUUID

Method randomUUID

packages/core/wgc/crypto/index.ts:10–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 return subtle;
9 }
10 randomUUID() {
11 if (__ANDROID__) {
12 return (<any>org).nativescript.winter_tc.Crypto.randomUUID();
13 }
14 if (__IOS__) {
15 return NSCCrypto.randomUUID();
16 }
17 }
18
19 getRandomValues(typedArray: Exclude<TypedArray, Float32Array | Float64Array>) {
20 if (__ANDROID__) {

Callers 2

fromPathMethod · 0.45
runFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected