MCPcopy
hub / github.com/qax-os/excelize / boolPtr

Function boolPtr

lib.go:444–444  ·  view source on GitHub ↗

boolPtr returns a pointer to a bool with the given value.

(b bool)

Source from the content-addressed store, hash-verified

442
443// boolPtr returns a pointer to a bool with the given value.
444func boolPtr(b bool) *bool { return &b }
445
446// intPtr returns a pointer to an int with the given value.
447func intPtr(i int) *int { return &i }

Callers 15

TestAddTableFunction · 0.85
TestWorkbookPropsFunction · 0.85
TestCalcPropsFunction · 0.85
TestAddDrawingChartFunction · 0.85
TestAddSheetDrawingChartFunction · 0.85
TestAddChartFunction · 0.85
TestDeleteChartFunction · 0.85
addSlicerCacheMethod · 0.85
TestFormControlFunction · 0.85
GetPageLayoutMethod · 0.85
GetSheetViewMethod · 0.85
TestAddPictureFunction · 0.85

Calls

no outgoing calls

Tested by 15

TestAddTableFunction · 0.68
TestWorkbookPropsFunction · 0.68
TestCalcPropsFunction · 0.68
TestAddDrawingChartFunction · 0.68
TestAddSheetDrawingChartFunction · 0.68
TestAddChartFunction · 0.68
TestDeleteChartFunction · 0.68
TestFormControlFunction · 0.68
TestAddPictureFunction · 0.68
TestAddDrawingPictureFunction · 0.68
TestRowHeightFunction · 0.68
TestSetPageMarginsFunction · 0.68