GoLang is_writeable

is this article helpful? yes | no
GoLang replacement for PHP's is_writeable [edit | history]
func IsWriteable(filename string) bool {
	_, err := syscall.Open(filename, syscall.O_WRONLY, 0)
	if err != nil {
		return false
	}
	return true
}

PHP is_writeable

PHP original manual for is_writeable [ show | php.net ]

is_writeable

(PHP 4, PHP 5, PHP 7)

is_writeableAlias of is_writable()

Description

This function is an alias of: is_writable().