{"name":"BIS_fnc_isLeapYear","operator":null,"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","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.10"}],"since":{"game":"arma3","name":"Arma 3","version":"1.10"},"arma3_since":"1.10","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns true if given year is a leap year, otherwise false.","syntaxes":[{"syntax":"year call BIS_fnc_isLeapYear","since":null,"effect":null,"exec":null,"params":[{"name":"year","type":"Number","optional":false,"default":null,"description":"a non-decimal number (a.k.a integer)","types":["Number"],"since":null,"text":"year: Number - a non-decimal number (a.k.a integer)"}],"returns":{"type":"Boolean","types":["Boolean"],"description":null,"text":"Boolean"}}],"examples":[{"text":"```sqf\nprivate _isLeapYear = 2035 call BIS_fnc_isLeapYear;\n```","code":["private _isLeapYear = 2035 call BIS_fnc_isLeapYear;"]},{"text":"```sqf\nprivate _isLeapYear = 2036 call BIS_fnc_isLeapYear; // 2036 is a leap year\n```","code":["private _isLeapYear = 2036 call BIS_fnc_isLeapYear; // 2036 is a leap year"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["date"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Environment","Function Group: Math","Functions","Introduced with Arma 3 version 1.10"],"docblock":null,"filled_from_docblock":[]}