solarnetwork-api-core
    Preparing search index...

    Type Alias PropMapUriEncodingCallbackFn

    PropMapUriEncodingCallbackFn: (
        name: string,
        value: any,
    ) => [string, any] | [string, any, boolean] | any | undefined

    A callback function for URI encoding.

    The function will be passed property name and value arguments, and must return either undefined to skip the property, a 2-element array with the property name and value to use, or anything else to use the property as-is.

    Type declaration

      • (
            name: string,
            value: any,
        ): [string, any] | [string, any, boolean] | any | undefined
      • Parameters

        • name: string
        • value: any

        Returns [string, any] | [string, any, boolean] | any | undefined