@ceeblue/web-utils
    Preparing search index...

    Function objectFrom

    • Returns an easy-to-use Javascript object something iterable, such as a Map, Set, or Array

      Parameters

      • value: any

        iterable input

      • params: { noEmptyString: boolean; withType: boolean }
        • noEmptyString: boolean

          false, if set it converts empty string value to a true boolean, usefull to allow a if(result.key) check for example

        • withType: boolean

          false, if set it tries to cast string value to a JS number/boolean/undefined/null type.

      Returns any

      An javascript object