public static function pugJsCacheCheck($renderFile, $filename, self $pug)
    {
        return file_exists($renderFile) && (
            filemtime($renderFile) >= filemtime($filename) ||
            !$pug->getDefaultOption('upToDateCheck')
        );
    }
public static function pugJsCacheCheck($renderFile, $filename, self $pug)
    {
        return file_exists($renderFile) && (
            filemtime($renderFile) >= filemtime($filename) ||
            !$pug->getDefaultOption('upToDateCheck')
        );
    }
public static function pugJsCacheCheck ( $ renderFile , $ filename , self $ pug ) { return file_exists ( $ renderFile ) && ( filemtime ( $ renderFile ) >= filemtime ( $ filename ) || ! $ pug -> getDefaultOption ( 'upToDateCheck' ) ) ; }
Returns true if the rendered file is up to date against the source.

@param string      $renderFile
@param string      $filename
@param PugJsEngine $pug

@return bool
Returns true if the rendered file is up to date against the source .