Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "tools/hash"

Index

Functions

hashCode

  • hashCode(value: any): number
  • Computes the hash code for a given value. This method takes into account the type of the given value when generating its hash code.

    Parameters

    • value: any

    Returns number

hashMember

  • hashMember(name: string, value: any, configuration: object): number
  • Computes the hash code for a member of an object, based on the given member member, the value to be hashed, and the configuration about how each member contributes to the enire hash code of the object.

    Parameters

    • name: string
    • value: any
    • configuration: object
      • [key: string]: number

    Returns number

hashPrimitiveMember

  • hashPrimitiveMember(name: string, value: any, configuration: object): number
  • Computes the hash code for a member of an object.

    Parameters

    • name: string
    • value: any
    • configuration: object
      • [key: string]: number

    Returns number

Generated using TypeDoc