• Serializes object as a YAML document

    Parameters

    • document: any

      document

    Returns string

    yaml document