Return the underlying string

Synopsis

Declared in <mrdocs/Support/JavaScript.hpp>

std::string_view
getString() const;

Description

This function returns the value as a string.

This function performs no coercions. If the value is not a string, it is not converted to a string.

Note

Behaviour is undefined if !isString()

Return Value

the underlying string

Created with MrDocs