BP_GOPP_Image_Editor_GS::is_win()

Whether on Windows or not.

Description

Return

(bool)

Source

File: bp-document/classes/class-bp-gopp-image-editor-gs.php

	protected static function is_win() {
		if ( null === self::$is_win ) {
			self::$is_win = 0 === strncasecmp( 'WIN', PHP_OS, 3 );
		}
		return self::$is_win;
	}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.