Options
All
  • Public
  • Public/Protected
  • All
Menu

@lumino/coreutils - v1.12.1

Index

Type aliases

JSONPrimitive

JSONPrimitive: boolean | number | string | null

A type alias for a JSON primitive.

JSONValue

A type alias for a JSON value.

PartialJSONValue

A type alias for a partial JSON value.

Note: Partial here means that JSON object attributes can be undefined.

ReadonlyJSONValue

A type alias for a readonly JSON value.

ReadonlyPartialJSONValue

A type alias for a readonly partial JSON value.

Note: Partial here means that JSON object attributes can be undefined.

Functions

fallbackRandomValues

  • fallbackRandomValues(buffer: Uint8Array): void

uuid4Factory

  • uuid4Factory(getRandomValues: function): function
  • A function which creates a function that generates UUID v4 identifiers.

    Parameters

    • getRandomValues: function
        • (bytes: Uint8Array): void
        • Parameters

          • bytes: Uint8Array

          Returns void

    Returns function

    A new function that creates a UUID v4 string.

    Notes

    This implementation complies with RFC 4122.

    This uses Random.getRandomValues() for random bytes, which in turn will use the underlying crypto module of the platform if it is available. The fallback for randomness is Math.random.

      • (): string
      • Returns string

Generated using TypeDoc