is_factor
- is_factor(divisor,value)
- Returns true if a given divisor is a factor of a given value, false otherwise.
COPY/// is_factor(divisor,value)
//
// Returns true if a given divisor is a factor of
// a given value, false otherwise.
//
// divisor divisor, real
// value value, real
//
/// GMLscripts.com/license
{
return !(argument1 mod argument0);
}
Contributors: Leif902
GitHub: View · Commits · Blame · Raw