Function replaceKeyFromValue

  • Description

    替换占位符

    Returns

    string

    Example

    replaceKeyFromValue('Hello {name}',{name:'Word'}) => Hello Word
    

    Parameters

    • str: string
    • obj: object

    Returns string

Generated using TypeDoc