divisibleby
Return True if the value is divisible by the argument.
def divisibleby(
value: any,
arg: any
) - > boolean
Return True if the value is divisible by the argument.
Parameters
| Name | Type | Description |
|---|---|---|
| value | any | The numeric value or string representation of an integer to be tested for divisibility |
| arg | any | The divisor used to check the divisibility of the input value |
Returns
| Type | Description |
|---|---|
boolean | True if the value can be divided by the argument without a remainder, otherwise False |