@metreeca/core - v0.9.1
    Preparing search index...

    Function asString

    • Retrieves a value as a string if it is one, otherwise returns undefined.

      Parameters

      • value: unknown

      Returns string | undefined

      The value if it is a string, undefined otherwise