Hex Core JS
    Preparing search index...

    Function isStringer

    • Reports whether the given value implements the Stringer interface. Acts as a typeguard.

      Parameters

      • value: any

        The value to check.

      Returns value is Stringer

      The implementation of this function is not entirely accurate as it only checks if the given value has a property called "toString" that is a function (but cannot check the signature). This relies on the convention of not naming methods toString that don't have the standard signature).