• Preparing search index...
  • The search index is not available
Documentation
  • Documentation
  • @sequelize/utils
  • common
  • isValidIntegerSyntax

Function isValidIntegerSyntax

  • isValidIntegerSyntax(value: string, radix?: number): boolean

    Determines if the string follows the "integer" syntax.

    Does not determine whether the value could be represented using the Number or BigInt type. Use parseSafeInteger, parseBigInt for that.

    Parameters

    • value: string
    • radix: number = 10

    Returns boolean

    • Defined in common/predicates/is-valid-integer-syntax.ts:12

Settings

Member Visibility
Documentation
  • Loading...

Generated using TypeDoc