Constructors

Methods

Constructors

Methods

  • Provides a solid string hashing algorithm.

    Sourced from: https://stackoverflow.com/a/52171480

    Parameters

    • str: string

      String to hash.

    • Optional seed: number

      A seed value altering the hash.

    Returns number

    Hash code.

  • Validates that the given string is formatted as a UUIDv4 string.

    Parameters

    • uuid: string

      UUID string to test.

    Returns boolean

    Is UUIDv4 string.