Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "string/un-stringify"

Index

Functions

Functions

unStringify

  • Tries to cast a string to a primitive value if it looks like one.

    Parameters

    • value: UnStringified

      The value to try to cast. Will only work on strings.

    Returns UnStringified

    Value as a number if it appears to be a number, or value as a boolean if it appears to be 'true' or 'false', or just value back as a string.

Generated using TypeDoc