Skip to content

Commit

Permalink
improve inferValue description
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-atr committed Jan 12, 2023
1 parent 3dcf6d4 commit e69dccd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/helpers/string-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ export function generateRandomResponse(customResponseText) {
/**
* Infers value from string argument
* Inferring goes from more specific to more ambiguous options
* Arrays, objects and strings are parsed via JSON.parse
*
* @param {string} value arbitrary string
* @returns {any} converted value
Expand Down

0 comments on commit e69dccd

Please sign in to comment.