mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 19:43:28 +00:00
8 lines
191 B
JavaScript
8 lines
191 B
JavaScript
|
var IsEvenStrict = function (value)
|
||
|
{
|
||
|
// Use strict equality === for "is number" test
|
||
|
return (value === parseFloat(value)) ? !(value % 2) : void 0;
|
||
|
};
|
||
|
|
||
|
module.exports = IsEvenStrict;
|