Function isSnowflake

  • Check if input is a valid snowflake (Discord ID)

    Parameters

    • input: unknown

      Value to check

    Returns input is string

    true if the input is a valid snowflake, false otherwise