(value interface{}, defaultValue bool)
| 1479 | } |
| 1480 | |
| 1481 | func extractBoolValue(value interface{}, defaultValue bool) bool { |
| 1482 | result, ok := value.(bool) |
| 1483 | if !ok { |
| 1484 | return defaultValue |
| 1485 | } |
| 1486 | return result |
| 1487 | } |
| 1488 | |
| 1489 | func sortedChildKeys(values map[string]interface{}) []string { |
| 1490 | keys := make([]string, 0, len(values)) |
no outgoing calls
no test coverage detected