public function isStringy($thingy) : bool
    {
        return (
            is_string($thingy)
            || is_numeric($thingy)
            || (is_object($thingy) && method_exists($thingy, '__toString' ))
        );
    }
public function isStringy($thingy) : bool
    {
        return (
            is_string($thingy)
            || is_numeric($thingy)
            || (is_object($thingy) && method_exists($thingy, '__toString' ))
        );
    }
public function isStringy ( $ thingy ) : bool { return ( is_string ( $ thingy ) || is_numeric ( $ thingy ) || ( is_object ( $ thingy ) && method_exists ( $ thingy , '__toString' ) ) ) ; }
Returns whether a thingy is stringy.

Thingies that are stringy include: a string, a printable number, or a string-castable object

@param $thingy
@return bool
Returns whether a thingy is stringy .