Preparing search index...

    Function isAllDigits

    • Checks if a string contains only digit characters.

      Parameters

      • str: string

        String to check

      Returns boolean

      true if string is non-empty and contains only digits 0-9