Description

IsDivisibleBy check if the string is a number that's divisible by another. If second argument is not valid integer or zero, it's return false. Otherwise, if first argument is not valid integer or zero, it's return true (Invalid string converts to zero).

IsDivisibleBy is referenced in 1 repository

github.com/asaskevich/govalidator