class Nokogiri::XML::Document
def empty_doc?(string_or_io)
Experimental RBS support (using type sampling data from the type_fusion
project).
def empty_doc?: (String string_or_io) -> false
This signature was generated using 3 samples from 1 application.
def empty_doc?(string_or_io) string_or_io.nil? || (string_or_io.respond_to?(:empty?) && string_or_io.empty?) || (string_or_io.respond_to?(:eof?) && string_or_io.eof?) end