@webdeveric/utils
    Preparing search index...
    • Assert that input is a string representing a numeric value.

      Parameters

      • input: unknown
      • error: string | Error = 'input is not a numeric string'

      Returns asserts input is `${number}` | `${bigint}`

      assertIsNumericString('3.14'); // does not throw
      assertIsNumericString('abc'); // throws TypeError: input is not a numeric string