{"name":"BIS_fnc_isLeapYear","title":"BIS fnc isLeapYear","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_isLeapYear","revid":326986,"updated":"2022-07-12T21:44:43Z","groups":["Math","Environment"],"status":"ok","games":{"arma3":"1.10"},"since":"arma3 1.10","arma3_since":"1.10","description":"Returns true if given year is a leap year, otherwise false.","syntaxes":[{"syntax":"year call BIS_fnc_isLeapYear","params":[{"name":"year","type":"Number","description":"a non-decimal number (a.k.a integer)","type_expr":"Number"}],"returns":{"type":"Boolean","type_expr":"Boolean"}}],"examples":[{"code":["private _isLeapYear = 2035 call BIS_fnc_isLeapYear;"]},{"code":["private _isLeapYear = 2036 call BIS_fnc_isLeapYear; // 2036 is a leap year"]}],"see_also":["date"]}