@yookue/ts-lang-utils
    Preparing search index...

    Function detectSource

    • Detects the image src for the given param

      Parameters

      • Optionalparam:
            | string
            | Promise<undefined | string>
            | (() => undefined | string | Promise<undefined | string>)

        the parameter to inspect

      • Optionalresolve: (res?: string) => void

        the callback function when resolved

      • Optionalreject: () => void

        the callback function when rejected

      Returns void

      David Hsing