函数原型
existSheet(string $sheetName): array
示例
$config = ['path' => './tests'];
$fileObject = new \Vtiful\Kernel\Excel($config);
$fileObject->fileName('tutorial.xlsx')
// 添加工作表 twoSheet
->addSheet('twoSheet');
var_dump($fileObject->existSheet('twoSheet'));
var_dump($fileObject->existSheet('notFoundSheet'));
示例输出
bool(true)
bool(false)