@zarpay/zar-cdk-lib - v0.32.0
    Preparing search index...

    Function hashcode

    • Generate a deterministic hash code from a string. Used for generating unique but consistent resource name suffixes.

      Parameters

      • s: string

        The string to hash

      Returns string

      A string representation of the hash (absolute value)

      hashcode('MyApp/Stack/Resource'); // '1234567'