method test documentation in bbn\File\Image

Tests if the object is a image.

Example

$img = new bbn\File\Image("/home/data/test/image.jpg"); bbn\X::dump($img->test()); // (bool) true $img = new bbn\File\Image("/home/data/test/file.doc"); bbn\X::dump($img->test()); // (bool) false function() { if ($this->make()) { if ($this->error) { return false; } return true; } return false; }

Tests if the object is a image. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.