ixfx
    Preparing search index...

    Function stringTest

    • Throws an error if parameter is not an string

      Parameters

      • value: unknown

        Value to check

      • range: StringGuardRange = ...

        Range conditions, if any

      • parameterName: string = ...

        Name of parameter, for customising error message

      Returns Result<string, string>