Documentation

    Function getJsonComment

    • Retrieves the comment associated with the given key from the specified JSON file.

      Parameters

      • key: string

        The key used to retrieve the comment.

      • Optionaltype: string

        The type of JSON file to search for the comment. Defaults to 'block.json'.

      Returns string

      • The comment associated with the given key. If the key is not found, the key itself is returned.
    MMNEPVFCICPMFPCPTTAAATR