You are currently viewing the GMLscripts.com static mirror. Forum access and script submissions are not available through this mirror.

Invert GMLscripts.com

is_even

is_even(value)
Returns true if a given value is even, false otherwise.
COPY/// is_even(value)
//
//  Returns true if a given value is even, false otherwise.
//
//      value       value, real
//
/// GMLscripts.com/license
{
    return !(argument0 & 1);
}

Contributors: Schreib, SerMSYS, Leif902

GitHub: View · Commits · Blame · Raw